summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_slider.scss
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_slider.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_slider.scss8
1 files changed, 6 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_slider.scss b/WebContent/VAADIN/themes/valo/components/_slider.scss
index 096f80e909..856e6eb08c 100644
--- a/WebContent/VAADIN/themes/valo/components/_slider.scss
+++ b/WebContent/VAADIN/themes/valo/components/_slider.scss
@@ -50,7 +50,7 @@ $_valo-slider-base-margin-horizontal: round($v-slider-handle-width/2);
top: $_valo-slider-base-margin-vertical;
bottom: $_valo-slider-base-margin-vertical;
left: $_valo-slider-base-margin-horizontal;
- width: $v-border-radius;
+ width: $v-border-radius * 2;
border-radius: $v-border-radius;
border-left: valo-border($color: $v-selection-color, $context: $v-app-background-color);
}
@@ -70,6 +70,10 @@ $_valo-slider-base-margin-horizontal: round($v-slider-handle-width/2);
}
}
+ .v-has-width > .#{$primary-stylename}-base {
+ min-width: 0;
+ }
+
.#{$primary-stylename}-handle {
margin-top: round(($v-unit-size - $v-slider-track-size)/-2);
width: .1px; // Firefox needs a non-zero value
@@ -136,7 +140,7 @@ $_valo-slider-base-margin-horizontal: round($v-slider-handle-width/2);
left: $_valo-slider-base-margin-vertical;
right: $_valo-slider-base-margin-vertical;
width: auto;
- height: $v-border-radius;
+ height: $v-border-radius * 2;
border-left: none;
border-bottom: valo-border($color: $v-selection-color, $context: $v-app-background-color);
}