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

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: Created 3 years, 10 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 3a175f4b7e281fbb2d74b190a29cf2c3bedf018e..92449eb49cf30d2026ffa22c51fa0b60bcc1e167 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">
@@ -53,10 +54,14 @@
max-height: 270px;
}
}
+
+ [scrollable].is-scrolled {
+ border-top-color: transparent;
scottchen 2017/02/17 22:40:04 This is to prevent double-border, since the dialog
+ }
</style>
<dialog is="cr-dialog" id="dialog">
<div class="title">[[title_]]</div>
- <div class="body">
+ <div class="body" scrollable>
<template is="dom-repeat" items="[[addressWrapper_]]">
<div class="address-row">
<template is="dom-repeat" items="[[item]]">

Powered by Google App Engine
This is Rietveld 408576698