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

Side by Side Diff: chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html

Issue 2702523005: MD Settings: long dialog body should have overscroll line. (Closed)
Patch Set: revert format change Created 3 years, 8 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/cr_dialog/cr_dialog.html "> 1 <link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html ">
2 <link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.h tml">
2 <link rel="import" href="chrome://resources/html/cr.html"> 3 <link rel="import" href="chrome://resources/html/cr.html">
3 <link rel="import" href="chrome://resources/html/i18n_behavior.html"> 4 <link rel="import" href="chrome://resources/html/i18n_behavior.html">
4 <link rel="import" href="chrome://resources/html/md_select_css.html"> 5 <link rel="import" href="chrome://resources/html/md_select_css.html">
5 <link rel="import" href="chrome://resources/html/polymer.html"> 6 <link rel="import" href="chrome://resources/html/polymer.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11 y-keys.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input .html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-texta rea.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-texta rea.html">
9 <link rel="import" href="../settings_shared_css.html"> 10 <link rel="import" href="../settings_shared_css.html">
10 <link rel="import" href="../settings_vars_css.html"> 11 <link rel="import" href="../settings_vars_css.html">
11 12
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 50 }
50 51
51 .long { 52 .long {
52 width: var(--paper-input-max-width); 53 width: var(--paper-input-max-width);
53 } 54 }
54 55
55 #saveButton { 56 #saveButton {
56 -webkit-margin-start: 8px; 57 -webkit-margin-start: 8px;
57 } 58 }
58 59
59 #dialog .body { 60 #dialog {
60 max-height: 450px; 61 --cr-dialog-body-container: {
62 max-height: 450px;
63 };
61 } 64 }
62 65
63 @media all and (max-height: 714px) { 66 @media all and (max-height: 714px) {
64 #dialog .body { 67 #dialog {
65 max-height: 270px; 68 --cr-dialog-body-container: {
69 max-height: 270px;
70 };
66 } 71 }
67 } 72 }
dpapad 2017/03/30 18:25:00 Blank line between CSS rules missing?
scottchen 2017/03/30 19:24:34 Done.
68
69 paper-textarea { 73 paper-textarea {
70 /** 74 /**
71 * Workaround for iron-autogrow-textarea's display:inline-block creating 75 * Workaround for iron-autogrow-textarea's display:inline-block creating
72 * too much vertical space than intended. 76 * too much vertical space than intended.
73 */ 77 */
74 --layout-relative : { 78 --layout-relative : {
75 line-height: 1; 79 line-height: 1;
76 }; 80 };
77 } 81 }
78 </style> 82 </style>
79 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> 83 <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"
84 show-scroll-borders>
80 <div class="title">[[title_]]</div> 85 <div class="title">[[title_]]</div>
81 <div class="body"> 86 <div class="body">
82 <template is="dom-repeat" items="[[addressWrapper_]]"> 87 <template is="dom-repeat" items="[[addressWrapper_]]">
83 <div class="address-row"> 88 <div class="address-row">
84 <template is="dom-repeat" items="[[item]]"> 89 <template is="dom-repeat" items="[[item]]">
85 <template is="dom-if" if="[[item.isTextArea]]"> 90 <template is="dom-if" if="[[item.isTextArea]]">
86 <paper-textarea label="[[item.component.fieldName]]" 91 <paper-textarea label="[[item.component.fieldName]]"
87 value="{{item.value}}" on-value-changed="updateCanSave_" 92 value="{{item.value}}" on-value-changed="updateCanSave_"
88 class$="address-column [[long_(item)]]" always-float-label 93 class$="address-column [[long_(item)]]" always-float-label
89 autofocus> 94 autofocus>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 </paper-button> 143 </paper-button>
139 <paper-button id="saveButton" class="action-button" 144 <paper-button id="saveButton" class="action-button"
140 disabled="[[!canSave_]]" on-tap="onSaveButtonTap_"> 145 disabled="[[!canSave_]]" on-tap="onSaveButtonTap_">
141 $i18n{save} 146 $i18n{save}
142 </paper-button> 147 </paper-button>
143 </div> 148 </div>
144 </dialog> 149 </dialog>
145 </template> 150 </template>
146 <script src="address_edit_dialog.js"></script> 151 <script src="address_edit_dialog.js"></script>
147 </dom-module> 152 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698