feat: add rtl support (#2178)

This commit is contained in:
thewh1teagle
2022-10-21 19:07:11 +03:00
committed by GitHub
parent a49105db1d
commit 2c14146a31
10 changed files with 152 additions and 1 deletions

View File

@@ -315,6 +315,11 @@ main .spinner .bounce2 {
padding: 0 1em;
}
/*** RTL - flip and position arrow of path ***/
body.rtl .breadcrumbs .chevron {
transform: scaleX(-1) translateX(16em);
}
#editor-container .breadcrumbs span {
font-size: .75rem;
}
@@ -404,3 +409,22 @@ main .spinner .bounce2 {
}
@import './mobile.css';
/* * * * * * * * * * * * * * * *
* RTL overrides *
* * * * * * * * * * * * * * * */
body.rtl .card-content textarea {
direction: ltr;
text-align: left;
}
body.rtl .card-content .small + input {
direction: ltr;
text-align: left;
}
body.rtl .card.floating .card-content .file-list {
direction: ltr;
text-align: left;
}