Skip to content

Commit

Permalink
fix(styles.css): fix misaligned slider-thumb
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenlx committed Apr 14, 2021
1 parent ae49482 commit 77faab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -520,15 +520,15 @@ a.plyr__control::before {
width: 13px;
width: var(--plyr-range-thumb-height, 13px);
-webkit-appearance: none;
margin-top: calc(((13px - 5px) / 2) * -1);
/* margin-top: calc(((13px - 5px) / 2) * -1);
margin-top: calc(
(
(
var(--plyr-range-thumb-height, 13px) -
var(--plyr-range-track-height, 5px)
) / 2
) * -1
);
); */
}
.plyr--full-ui input[type="range"]::-moz-range-track {
background: 0 0;
Expand Down

0 comments on commit 77faab4

Please sign in to comment.