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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/address_edit_dialog.html

Issue 2209923002: MD Settings: Specify max-height for the "Edit address" dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add media query Created 4 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13cd09f680b1f05676d1d7061921c20795270f5a..e03a4580e66362933b1946e063f7cbea9d731818 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
@@ -9,26 +9,36 @@
<link rel="import" href="/settings_shared_css.html">
<dom-module id="settings-address-edit-dialog">
- <style include="settings-shared">
- .address-row {
- display: flex;
- }
+ <template>
+ <style include="settings-shared">
+ .address-row {
+ display: flex;
+ }
- .address-column {
- -webkit-margin-end: 16px;
- margin-bottom: 8px;
- width: calc((var(--paper-input-max-width) - 16px) / 2);
- }
+ .address-column {
+ -webkit-margin-end: 16px;
+ margin-bottom: 8px;
+ width: calc((var(--paper-input-max-width) - 16px) / 2);
+ }
- .long {
- width: var(--paper-input-max-width);
- }
+ .long {
+ width: var(--paper-input-max-width);
+ }
- #saveButton {
- -webkit-margin-start: 8px;
- }
- </style>
- <template>
+ #saveButton {
+ -webkit-margin-start: 8px;
+ }
+
+ #dialog .body {
+ max-height: 450px;
+ }
+
+ @media all and (max-height: 714px) {
+ #dialog .body {
+ max-height: 270px;
+ }
+ }
+ </style>
<dialog is="cr-dialog" id="dialog">
<div class="title">[[title_]]</div>
<div class="body">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698