summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-01-07 23:37:04 +0200
committerArtur Signell <artur@vaadin.com>2013-01-07 23:52:12 +0200
commit991dcf9fa63273e15b38abaca5f4ac792ca94b7e (patch)
tree5877fdfdd4ab53b9f9d018c61be890cbd65abbad /WebContent/VAADIN/themes/runo
parent68406d87bb4dfb90d460ac02ef6412493f76eba7 (diff)
downloadvaadin-framework-991dcf9fa63273e15b38abaca5f4ac792ca94b7e.tar.gz
vaadin-framework-991dcf9fa63273e15b38abaca5f4ac792ca94b7e.zip
Fixed ComboBox width problems in all themes (#10484)
Change-Id: Ia8181cd9c9d6a9183083408c55f9c3f28c72fb29
Diffstat (limited to 'WebContent/VAADIN/themes/runo')
-rw-r--r--WebContent/VAADIN/themes/runo/select/select.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/runo/select/select.scss b/WebContent/VAADIN/themes/runo/select/select.scss
index fc203a35fa..39eb0c9bde 100644
--- a/WebContent/VAADIN/themes/runo/select/select.scss
+++ b/WebContent/VAADIN/themes/runo/select/select.scss
@@ -1,5 +1,8 @@
@mixin runo-select($primaryStyleName : v-filterselect) {
+$select-button-width: 25px;
+$select-button-negative-width: -25px;
+
.v-select-select {
font-size: 13px;
}
@@ -18,6 +21,7 @@
height: 23px;
background: transparent url(img/bg-left-filter.png) no-repeat;
padding-left: 4px;
+ padding-right: $select-button-width; /* Space for the button */
}
&.v-app .#{$primaryStyleName} .#{$primaryStyleName}-input,
.v-window .#{$primaryStyleName} .#{$primaryStyleName}-input,
@@ -46,7 +50,8 @@
outline-offset: -4px;
}
.#{$primaryStyleName}-button {
- width: 25px;
+ width: $select-button-width;
+ margin-right: $select-button-negative-width;
height: 23px;
background: transparent url(img/bg-right-filter.png);
}