Index: chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html |
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html |
index 085505e394f778d2d5d3ecd046dc7fc50d21661c..7fc866f079b5baac6e5df4d3331e69933abf59e1 100644 |
--- a/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html |
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html |
@@ -1,4 +1,5 @@ |
<link rel="import" href="chrome://resources/cr_elements/cr_dialog/cr_dialog.html"> |
+<link rel="import" href="chrome://resources/cr_elements/cr_scrollable_behavior.html"> |
<link rel="import" href="chrome://resources/html/cr.html"> |
<link rel="import" href="chrome://resources/html/i18n_behavior.html"> |
<link rel="import" href="chrome://resources/html/md_select_css.html"> |
@@ -56,16 +57,19 @@ |
-webkit-margin-start: 8px; |
} |
- #dialog .body { |
- max-height: 450px; |
+ #dialog { |
+ --cr-dialog-body-container: { |
+ max-height: 450px; |
+ }; |
} |
@media all and (max-height: 714px) { |
- #dialog .body { |
- max-height: 270px; |
+ #dialog { |
+ --cr-dialog-body-container: { |
+ max-height: 270px; |
+ }; |
} |
} |
dpapad
2017/03/30 18:25:00
Blank line between CSS rules missing?
scottchen
2017/03/30 19:24:34
Done.
|
- |
paper-textarea { |
/** |
* Workaround for iron-autogrow-textarea's display:inline-block creating |
@@ -76,7 +80,8 @@ |
}; |
} |
</style> |
- <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}"> |
+ <dialog is="cr-dialog" id="dialog" close-text="$i18n{close}" |
+ show-scroll-borders> |
<div class="title">[[title_]]</div> |
<div class="body"> |
<template is="dom-repeat" items="[[addressWrapper_]]"> |