{{ labelBefore }}{{ value }}{{ labelAfter }}
@@ -62,6 +83,7 @@ const defaultHeight = computed(() => {
overflow: hidden;
border-radius: calc(v-bind(fontSize) / 2.5);
background-color: v-bind(inactiveColor);
+ cursor: pointer;
}
.active {
width: v-bind(active);
@@ -73,12 +95,12 @@ const defaultHeight = computed(() => {
position: absolute;
top: 0;
left: 0;
- transition: width 0.4s ease-in-out;
- background-color: v-bind(activeColor);
+ background: v-bind(activeColor);
}
.value {
font-weight: bold;
font-size: v-bind(fontSize);
color: v-bind(textColor);
+ user-select: none;
}