mirror of https://github.com/Chocobozzz/PeerTube
Fix player settings menu on RTL
parent
7ce6574989
commit
c1fe77b993
|
@ -22,5 +22,5 @@ peertube-container {
|
|||
peertube-video-miniature,
|
||||
peertube-playlist-miniature,
|
||||
peertube-channel-miniature {
|
||||
margin-right: 30px;
|
||||
margin-inline-end: 30px;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue