summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorHenri Sara <henri.sara@gmail.com>2017-07-18 13:04:48 +0300
committerTeemu Suo-Anttila <tsuoanttila@users.noreply.github.com>2017-07-18 13:04:48 +0300
commit347896905321f9b42788039b3112669c7c9a4eba (patch)
tree9536be7f2e02a77d85f4e9986093a45597b6eec8 /themes
parentfa03b98014d25918f3c2f1476ae11df610605676 (diff)
downloadvaadin-framework-347896905321f9b42788039b3112669c7c9a4eba.tar.gz
vaadin-framework-347896905321f9b42788039b3112669c7c9a4eba.zip
Fix position of font icons in ComboBox (#9638)
Fixes #9637
Diffstat (limited to 'themes')
-rw-r--r--themes/src/main/themes/VAADIN/themes/valo/components/_combobox.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_combobox.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_combobox.scss
index b81b44eb9a..e7f837d4c8 100644
--- a/themes/src/main/themes/VAADIN/themes/valo/components/_combobox.scss
+++ b/themes/src/main/themes/VAADIN/themes/valo/components/_combobox.scss
@@ -161,6 +161,12 @@
width: $unit-size;
line-height: 1;
padding-top: .12em;
+
+ $padding-width: ceil($unit-size/6);
+ @if $border-radius {
+ $padding-width: $padding-width + ceil($border-radius/3);
+ }
+ margin-left: $padding-width;
}
&[class*="prompt"] > [class*="input"] {