diff --git a/src/components/actionSheet/actionSheet.scss b/src/components/actionSheet/actionSheet.scss index 0b18ca3afa..b55ffe9480 100644 --- a/src/components/actionSheet/actionSheet.scss +++ b/src/components/actionSheet/actionSheet.scss @@ -100,7 +100,8 @@ } .actionsheetMenuItemIcon { - margin: 0 0.85em 0 0.45em !important; + margin-block: 0 !important; + margin-inline: 0.45em 0.85em !important; padding: 0 !important; } @@ -111,5 +112,5 @@ .btnCloseActionSheet { position: fixed; top: 0.75em; - left: 0.5em; + inset-inline-start: 0.5em; } diff --git a/src/components/listview/listview.scss b/src/components/listview/listview.scss index e8f3401318..6be15a62d1 100644 --- a/src/components/listview/listview.scss +++ b/src/components/listview/listview.scss @@ -75,7 +75,7 @@ } .listViewDragHandle { - margin-left: -0.25em !important; + margin-inline-start: -0.25em !important; touch-action: none; } diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index 4277100168..bc91e520a6 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -47,7 +47,7 @@ import { appRouter } from '../appRouter'; html += '
'; html += '
'; - html += '
'; + html += '
'; html += ''; html += '
'; @@ -57,7 +57,7 @@ import { appRouter } from '../appRouter'; html += '
'; // The onclicks are needed due to the return false above - html += '
'; + html += '
'; html += ''; diff --git a/src/components/nowPlayingBar/nowPlayingBar.scss b/src/components/nowPlayingBar/nowPlayingBar.scss index b90ff2008d..be420f69ec 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.scss +++ b/src/components/nowPlayingBar/nowPlayingBar.scss @@ -54,11 +54,10 @@ white-space: nowrap; text-overflow: ellipsis; vertical-align: middle; - text-align: left; + text-align: start; flex-grow: 1; font-size: 92%; - margin-right: 1em; - margin-left: 0.5em; + margin-inline: 0.5em 1em; } .nowPlayingBarCenter { @@ -92,7 +91,8 @@ .nowPlayingBarRight { position: relative; - margin: 0 0.5em 0 auto; + margin-block: 0; + margin-inline: auto 0.5em; /* Need this to make sure it's on top of nowPlayingBarPositionContainer so that buttons are fully clickable */ z-index: 2; @@ -110,7 +110,7 @@ } .nowPlayingBarVolumeSliderContainer { - margin-right: 2em; + margin-inline-end: 2em; } .nowPlayingBarUserDataButtons { diff --git a/src/components/remotecontrol/remotecontrol.scss b/src/components/remotecontrol/remotecontrol.scss index 6dc769e710..59bdf83dff 100644 --- a/src/components/remotecontrol/remotecontrol.scss +++ b/src/components/remotecontrol/remotecontrol.scss @@ -51,6 +51,10 @@ .nowPlayingButtonsContainer { display: flex; + + [dir="rtl"] & { + flex-direction: row-reverse; + } } .infoContainer, @@ -94,7 +98,7 @@ .nowPlayingPageImageContainer { width: 16%; - margin-right: 1em; + margin-inline-end: 1em; position: relative; -webkit-flex-shrink: 0; flex-shrink: 0; @@ -265,7 +269,7 @@ @media all and (min-width: 80em) { .nowPlayingPageImageContainer { - margin-right: 0.75em; + margin-inline-end: 0.75em; } } @@ -362,23 +366,23 @@ .nowPlayingInfoControls .nowPlayingPageUserDataButtonsTitle button { padding-top: 0; - padding-right: 0; - margin-right: 0; - float: right; + padding-inline-end: 0; + margin-inline-end: 0; + float: inline-end; border-radius: 0; } .nowPlayingInfoButtons .btnRepeat, .nowPlayingInfoButtons .btnRewind { - margin-left: 0; - margin-right: auto; + margin-inline-start: 0; + margin-inline-end: auto; font-size: smaller; } .nowPlayingInfoButtons .btnShuffleQueue, .nowPlayingInfoButtons .btnFastForward { - margin-left: auto; - margin-right: 0; + margin-inline-start: auto; + margin-inline-end: 0; font-size: smaller; } @@ -410,7 +414,7 @@ .nowPlayingButtonsContainer { display: flex; - flex-direction: column; + flex-direction: column !important; } } diff --git a/src/controllers/playback/queue/index.html b/src/controllers/playback/queue/index.html index b5f5bf2cf6..cb4706f152 100644 --- a/src/controllers/playback/queue/index.html +++ b/src/controllers/playback/queue/index.html @@ -18,7 +18,7 @@
-
+
@@ -28,7 +28,7 @@
-
+