mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
feat(range): add ability to add labels to the left/right of range
using `range-left` and `range-right` inside of `ion-range` will place the element to the left or right of the range. references #5422
This commit is contained in:
@ -32,24 +32,7 @@ $range-wp-pin-font-size: 12px !default;
|
||||
$range-wp-pin-padding: 8px !default;
|
||||
|
||||
|
||||
.item-range .item-inner {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.item-range .input-wrapper {
|
||||
overflow: visible;
|
||||
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.item-range ion-range {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
ion-range {
|
||||
position: relative;
|
||||
display: block;
|
||||
|
||||
padding: $range-wp-padding-vertical $range-wp-padding-horizontal;
|
||||
}
|
||||
|
||||
@ -58,11 +41,7 @@ ion-range {
|
||||
}
|
||||
|
||||
.range-slider {
|
||||
position: relative;
|
||||
|
||||
height: $range-wp-slider-height;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.range-bar {
|
||||
|
Reference in New Issue
Block a user