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

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

Issue 2812223007: MD Settings: Fix md-select alignment in passwords and forms section dialogs. (Closed)
Patch Set: Fix test. Created 3 years, 8 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/credit_card_edit_dialog.html
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
index 46800552ab7841851960add2375311b636f65724..0408217a808066bfff9e7a72419a6db6d0e043c3 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
@@ -13,8 +13,14 @@
width: var(--paper-input-max-width);
}
+ .md-select-wrapper {
+ /* Mitigate for md-select's start padding, to make it look aligned with
+ * other elements on the page. */
+ -webkit-margin-start: -12px;
+ }
+
.md-select-wrapper + .md-select-wrapper {
- -webkit-margin-start: 16px;
+ -webkit-margin-start: 8px;
}
#expired {

Powered by Google App Engine
This is Rietveld 408576698