Skip to content

Commit 156d802

Browse files
authored
[4.0] Media browser rtl (#34830)
Various fixes for the media manager when in RTL using css logical properties instead of adding new classes just for rtl. Media breadcrumbs needs some more rtl love but thats for another pr.
1 parent 326f30a commit 156d802

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/media_source/com_media/scss/components/_media-browser.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.media-browser {
33
position: relative;
44
min-height: 70vh;
5-
border-left: 1px solid $border-color;
5+
border-inline-start: 1px solid $border-color;
66
transition: width .3s cubic-bezier(.4, 0, .2, 1);
77
}
88

build/media_source/com_media/scss/components/_media-infobar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $fa-css-prefix: fa;
1212
padding: $gutter-width;
1313
overflow-y: auto;
1414
background-color: $info-bg;
15-
border-left: 1px solid $border-color;
15+
border-inline-start: 1px solid $border-color;
1616
h2 {
1717
padding: 8px ($gutter-width + 15px) 8px ($gutter-width - 5px);
1818
margin: (-$gutter-width) (-$gutter-width) $gutter-width;

build/media_source/com_media/scss/components/_media-toolbar.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
padding: 0;
66
background-color: $toolbar-bg;
77
border-bottom: 1px solid $border-color;
8-
border-left: 1px solid $border-color;
8+
border-inline-start: 1px solid $border-color;
99
border-radius: $border-radius $border-radius 0 0;
1010
box-shadow: 0 -1px 0 0 $border-color;
1111
input {
@@ -20,7 +20,7 @@
2020
text-align: center;
2121
background-color: transparent;
2222
border: 0;
23-
border-left: 1px solid $border-color;
23+
border-inline-start: 1px solid $border-color;
2424
box-shadow: 1px 0 #fefefe inset;
2525
&:hover {
2626
background-color: $toolbar-icon-bg-hover;

0 commit comments

Comments
 (0)