Skip to content

Commit

Permalink
use em units
Browse files Browse the repository at this point in the history
  • Loading branch information
mister-ben committed Mar 6, 2024
1 parent ba1da82 commit d66d2cf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/css/components/_transient-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,23 @@
}

.video-js .vjs-transient-button.vjs-left {
left: 5px;
left: 1em;
}

.video-js .vjs-transient-button.vjs-right {
right: 5px;
right: 1em;
}

.video-js .vjs-transient-button.vjs-top {
top: 5px;
top: 1em;
}

.video-js .vjs-transient-button.vjs-near-top {
top: 4em;
}

.video-js .vjs-transient-button.vjs-bottom {
bottom: 35px;
bottom: 4em;
}

.video-js.vjs-layout-large .vjs-transient-button {
Expand All @@ -48,10 +52,6 @@
font-size: 150%;
}

.video-js .vjs-transient-button.vjs-top.avoid-title {
top: 80px;
}

.video-js .vjs-transient-button:hover {
background-color: rgba(50, 50, 50, 0.9);
}
Expand Down

0 comments on commit d66d2cf

Please sign in to comment.