Skip to content

Commit

Permalink
fix(player): fix time-input height
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Aug 28, 2024
1 parent eded569 commit 77c3d86
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/style/_player.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,14 @@ video {
}

.time-label {
line-height: 0;

.time-input {
height: auto;
font-family: auto;
font-size: inherit;
color: var(--fg-color);
padding: 0;
cursor: text;
border: none;
background-color: var(--bg-color);
vertical-align: baseline;

&::-webkit-datetime-edit {
display: contents;
Expand All @@ -133,6 +131,11 @@ video {
padding: 0;
}
}

& > span {
display: inline-block;
vertical-align: bottom;
}
}

.playback-rate {
Expand Down

0 comments on commit 77c3d86

Please sign in to comment.