Skip to content

Commit

Permalink
Reduce Video.js icon size for mobile devices to 90% (#5705)
Browse files Browse the repository at this point in the history
* Reduce Video.js icon size for mobile devices to 90%

* Adjust audio player height to match font-size
  • Loading branch information
Dananji authored Mar 13, 2024
1 parent 9900b02 commit 0c9cb61
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions app/javascript/components/Ramp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,16 @@
.video-js .vjs-big-play-button {
scale: 1.5;
}
}

.video-js .vjs-control-bar {
font-size: 100% !important;
.video-js .vjs-control-bar {
font-size: 90% !important;
}

// reduce player height to match with adjusted font-size
// for smaller screens
.video-js.vjs-audio {
min-height: 2.9em;
}
}
}

Expand Down Expand Up @@ -367,4 +373,4 @@
height: 109vh !important;
}
}
}
}

0 comments on commit 0c9cb61

Please sign in to comment.