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

Unified Diff: chrome/browser/resources/settings/md_select_css.html

Issue 2401093002: MD Settings: Ensure that long text does not overlap with <select> arrow. (Closed)
Patch Set: Created 4 years, 2 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 | « chrome/browser/resources/settings/images/arrow_down.svg ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/md_select_css.html
diff --git a/chrome/browser/resources/settings/md_select_css.html b/chrome/browser/resources/settings/md_select_css.html
index 2a28fc246293ed6ab3fb2ec5b7800f026fac61e6..450ab3dd9007964b0ab48d9f54d205f6ea3213fe 100644
--- a/chrome/browser/resources/settings/md_select_css.html
+++ b/chrome/browser/resources/settings/md_select_css.html
@@ -5,7 +5,9 @@
<style>
.md-select {
-webkit-appearance: none;
- background: url(images/arrow_down.svg) 97% 70% no-repeat;
+ /* Ensure that the text does not overlap with the down arrow. */
+ -webkit-padding-end: calc(0.9em * 1.8);
dpapad 2016/10/07 18:01:12 Increased to 1.8, because 1.5 still seemed overly
michaelpg 2016/10/07 18:25:26 opt nit: make it harder to break --md-arrow-wid
dpapad 2016/10/07 19:14:04 Done.
+ background: url(images/arrow_down.svg) 97% center no-repeat;
background-size: 0.9em;
border-bottom: 1px solid var(--paper-grey-300);
border-left: none;
« no previous file with comments | « chrome/browser/resources/settings/images/arrow_down.svg ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698