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

Side by Side Diff: chrome/browser/resources/settings/internet_page/network_proxy_exclusions.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/cr_elements/hidden_style_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 2 <link rel="import" href="chrome://resources/cr_elements/icons.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout-classes.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-exclusions"> 7 <dom-module id="network-proxy-exclusions">
7 <template> 8 <template>
8 <style include="internet-shared cr-hidden-style"> 9 <style include="internet-shared cr-hidden-style iron-flex">
9 iron-icon { 10 iron-icon {
10 @apply(--settings-actionable); 11 @apply(--settings-actionable);
11 margin: 5px; 12 margin: 5px;
12 } 13 }
13 14
14 #container { 15 #container {
15 align-self: stretch; 16 align-self: stretch;
16 border: 1px solid lightgrey; 17 border: 1px solid lightgrey;
17 height: 100px; 18 height: 100px;
18 margin-top: 10px; 19 margin-top: 10px;
19 overflow-y: auto; 20 overflow-y: auto;
20 padding: 5px; 21 padding: 5px;
21 } 22 }
22 </style> 23 </style>
23 <div id="container"> 24 <div id="container">
24 <template is="dom-repeat" items="[[exclusions]]"> 25 <template is="dom-repeat" items="[[exclusions]]">
25 <div class="layout horizontal center" tabindex="0" > 26 <div class="layout horizontal center" tabindex="0" >
26 <div class="flex">[[item]]</div> 27 <div class="flex">[[item]]</div>
27 <iron-icon class="favicon-image" icon="cr:clear" 28 <iron-icon class="favicon-image" icon="cr:clear"
28 on-tap="onRemoveTap_" tabindex="0" hidden="[[!editable]]"> 29 on-tap="onRemoveTap_" tabindex="0" hidden="[[!editable]]">
29 </iron-icon> 30 </iron-icon>
30 </div> 31 </div>
31 </template> 32 </template>
32 </div> 33 </div>
33 </template> 34 </template>
34 <script src="network_proxy_exclusions.js"></script> 35 <script src="network_proxy_exclusions.js"></script>
35 </dom-module> 36 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698