Skip to content

Commit

Permalink
Bug fixed in css playback height variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ferserc1 committed Jul 3, 2023
1 parent c404df7 commit 01dca6b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/css/PlaybackBar.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

.player-container {
container-type: inline-size;
container-name: player-container;
}

.playback-bar {
position: absolute;
bottom: 0px;
Expand Down Expand Up @@ -360,11 +365,13 @@
padding: 1;
}

@container playback-bar (max-width: 700px) {
@container player-container (max-width: 700px) {
.playback-bar {
min-height: var(--playback-bar-height-sm);
background-color: red;
}
}

@container playback-bar (max-width: 700px) {

.playback-bar .button-plugins button i {
width: var(--button-icon-size-sm);
Expand Down

0 comments on commit 01dca6b

Please sign in to comment.