Fix player settings menu on RTL

pull/6449/head
Chocobozzz 2024-06-12 10:57:19 +02:00
parent 7ce6574989
commit c1fe77b993
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 10 additions and 3 deletions

View File

@ -22,5 +22,5 @@ peertube-container {
peertube-video-miniature,
peertube-playlist-miniature,
peertube-channel-miniature {
margin-right: 30px;
margin-inline-end: 30px;
}

View File

@ -55,7 +55,8 @@ $setting-transition-easing: ease-out;
.vjs-settings-panel {
position: absolute;
right: 0;
@include right(0);
overflow-y: auto;
overflow-x: hidden;
}
@ -145,7 +146,7 @@ $setting-transition-easing: ease-out;
@include icon(15px);
position: absolute;
left: 15px;
@include left(15px);
content: ' ';
margin-top: 1px;
background-image: url('#{$assets-path}/player/images/tick-white.svg');
@ -182,3 +183,9 @@ $setting-transition-easing: ease-out;
}
}
}
:root[dir=rtl] {
.vjs-back-button::before {
transform: rotate(45deg) !important;
}
}