Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Side by Side Diff: chrome/browser/resources/settings/internet_page/network_proxy_input.html

Issue 2888003002: Settings: Network: Fix flex layout (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.h tml">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input -container.html">
4 <link rel="import" href="internet_shared_css.html"> 5 <link rel="import" href="internet_shared_css.html">
5 6
6 <dom-module id="network-proxy-input"> 7 <dom-module id="network-proxy-input">
7 <template> 8 <template>
8 <style include="internet-shared"> 9 <style include="internet-shared iron-flex">
9 paper-input-container { 10 paper-input-container {
10 -webkit-margin-start: 10px; 11 -webkit-margin-start: 10px;
11 margin-bottom: -12px; 12 margin-bottom: -12px;
12 margin-top: -8px; 13 margin-top: -8px;
13 } 14 }
14 15
15 #port { 16 #port {
16 width: 50px; 17 width: 50px;
17 } 18 }
18 </style> 19 </style>
19 <div class="layout horizontal center"> 20 <div class="layout horizontal center">
20 <div class="flex">[[label]]</div> 21 <div class="flex">[[label]]</div>
21 <paper-input-container no-label-float> 22 <paper-input-container no-label-float>
22 <input is="iron-input" bind-value="{{value.Host}}" 23 <input is="iron-input" bind-value="{{value.Host}}"
23 disabled="[[!editable]]" on-change="onValueChange_"> 24 disabled="[[!editable]]" on-change="onValueChange_">
24 </paper-input-container> 25 </paper-input-container>
25 <div>$i18n{networkProxyPort}</div> 26 <div>$i18n{networkProxyPort}</div>
26 <paper-input-container no-label-float id="port"> 27 <paper-input-container no-label-float id="port">
27 <input is="iron-input" bind-value="{{value.Port}}" 28 <input is="iron-input" bind-value="{{value.Port}}"
28 disabled="[[!editable]]" on-change="onValueChange_"> 29 disabled="[[!editable]]" on-change="onValueChange_">
29 </paper-input-container> 30 </paper-input-container>
30 </div> 31 </div>
31 </template> 32 </template>
32 <script src="network_proxy_input.js"></script> 33 <script src="network_proxy_input.js"></script>
33 </dom-module> 34 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698