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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
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_]]">

Powered by Google App Engine
This is Rietveld 408576698