Apply padding on <select> and not the button

This commit is contained in:
Timothy Gu 2015-06-03 12:03:10 -07:00
parent 82c5cf6617
commit 099f99d6ad

View File

@ -747,7 +747,7 @@ html[dir='rtl'] .dropdownToolbarButton {
.dropdownToolbarButton { .dropdownToolbarButton {
width: 120px; width: 120px;
max-width: 120px; max-width: 120px;
padding: 3px 2px 2px; padding: 0;
overflow: hidden; overflow: hidden;
background: url(images/toolbarButton-menuArrows.png) no-repeat; background: url(images/toolbarButton-menuArrows.png) no-repeat;
} }
@ -763,7 +763,7 @@ html[dir='rtl'] .dropdownToolbarButton {
font-size: 12px; font-size: 12px;
color: hsl(0,0%,95%); color: hsl(0,0%,95%);
margin: 0; margin: 0;
padding: 0; padding: 3px 2px 2px;
border: none; border: none;
background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */ background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */
} }