From 71926aae0762facb25243f27eaf45933b5a37353 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 Mar 2021 14:27:06 +0100 Subject: [PATCH] Fix control bar alignment --- client/src/sass/player/peertube-skin.scss | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index 0144e89fb..81aacf1d7 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss @@ -43,10 +43,6 @@ body { } } - .vjs-button > .vjs-icon-placeholder::before { - line-height: $control-bar-height; - } - .vjs-volume-level::before { content: ''; /* Remove Circle From Progress Bar */ } @@ -242,8 +238,19 @@ body { @include disable-outline; cursor: pointer; - font-size: $play-control-font-size; width: 2em; + + .vjs-icon-placeholder { + line-height: $control-bar-height; + position: relative; + top: -1px; + + &::before { + font-size: 28px; + line-height: unset; + position: relative; + } + } } .vjs-time-control { @@ -375,7 +382,6 @@ body { .vjs-mute-control { @include disable-outline; - line-height: $control-bar-height; padding: 0; width: 30px;