mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 14:42:11 -03:00
feat(sliders): adjust value label positioning and line height
- Move slider handle value labels 6px upward in both DualRangeSlider and SingleSlider components - Add consistent line-height of 14px to ensure proper text alignment - Improves visual spacing and readability of value labels during slider interaction
This commit is contained in:
@@ -442,7 +442,7 @@ const stopDrag = (event?: PointerEvent) => {
|
||||
|
||||
.slider-handle__value {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: -6px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 12px;
|
||||
@@ -451,6 +451,7 @@ const stopDrag = (event?: PointerEvent) => {
|
||||
opacity: 0.8;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.slider-handle--min .slider-handle__value {
|
||||
|
||||
@@ -239,7 +239,7 @@ const stopDrag = (event?: PointerEvent) => {
|
||||
|
||||
.slider-handle__value {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: -6px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
font-size: 12px;
|
||||
@@ -248,5 +248,6 @@ const stopDrag = (event?: PointerEvent) => {
|
||||
opacity: 0.8;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
line-height: 14px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user