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

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: remove unused variable 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..f882ee42bf0e181505bf6d952cc907d1c0d8bc65 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,13 +57,17 @@
-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;
+ };
}
}
@@ -76,7 +81,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