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

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

Issue 2769333002: MD Settings: fix text-area spacing issue. (Closed)
Patch Set: 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
« 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 88bba8e7c45d47d9cfe1579c938daa4914f8bbf9..085505e394f778d2d5d3ecd046dc7fc50d21661c 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
@@ -15,6 +15,7 @@
:host {
--iron-autogrow-textarea: {
box-sizing: border-box;
+ padding: 0;
};
}
@@ -64,6 +65,16 @@
max-height: 270px;
}
}
+
+ paper-textarea {
+ /**
+ * Workaround for iron-autogrow-textarea's display:inline-block creating
+ * too much vertical space than intended.
+ */
+ --layout-relative : {
+ line-height: 1;
+ };
+ }
</style>
<dialog is="cr-dialog" id="dialog" close-text="$i18n{close}">
<div class="title">[[title_]]</div>
« 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