summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/chameleon/components/selects/selects.scss
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/chameleon/components/selects/selects.scss')
-rw-r--r--WebContent/VAADIN/themes/chameleon/components/selects/selects.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/chameleon/components/selects/selects.scss b/WebContent/VAADIN/themes/chameleon/components/selects/selects.scss
index 76ff1acfef..767daa7f42 100644
--- a/WebContent/VAADIN/themes/chameleon/components/selects/selects.scss
+++ b/WebContent/VAADIN/themes/chameleon/components/selects/selects.scss
@@ -1,7 +1,11 @@
@mixin chameleon-selects($primaryStyleName : v-filterselect) {
+$select-button-width : 16px;
+$select-button-negative-width : -16px;
+
.#{$primaryStyleName} {
overflow: hidden;
+ padding-right: $select-button-width; /* Space for the button */
}
&.v-app input.#{$primaryStyleName}-input {
@@ -26,7 +30,8 @@
}
.#{$primaryStyleName}-button {
- width: 16px;
+ width: $select-button-width;
+ margin-right: $select-button-negative-width;
height: 1.2em;
background-position: -5px -11px;
opacity: .4;