CSS refactor on slider

pull/310/head
cagataycivici 2020-05-04 15:53:08 +03:00
parent fdebc82aab
commit 2e33d1330e
1 changed files with 3 additions and 10 deletions

View File

@ -349,7 +349,8 @@ export default {
.p-slider-range { .p-slider-range {
position: absolute; position: absolute;
display: block; display: block;
} }
.p-slider-horizontal .p-slider-range { .p-slider-horizontal .p-slider-range {
@ -358,21 +359,13 @@ export default {
height: 100%; height: 100%;
} }
.p-slider-horizontal .p-slider-handle {
margin-top: -.5em;
}
.p-slider-vertical { .p-slider-vertical {
height: 100px; height: 100px;
} }
.p-slider-vertical .p-slider-range { .p-slider-vertical .p-slider-range {
left: 50%;
bottom: 0; bottom: 0;
left: 0;
width: 100%; width: 100%;
} }
.p-slider-vertical .p-slider-handle {
margin-left: -.5em;
}
</style> </style>