]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix issues in RTL layout in web UI
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 3 Oct 2019 01:17:41 +0000 (03:17 +0200)
committerThibaut Girka <thib@sitedethib.com>
Fri, 4 Oct 2019 17:16:41 +0000 (19:16 +0200)
Port 9184522cb49d87a58184a0561d46575ea1b5667d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/components/media.scss
app/javascript/flavours/glitch/styles/rtl.scss

index 85982d9381be976218ce0b26dd147f75e10e6a5f..b21ed9dd64ac6eca6f7557372c7b1d357c28c4c7 100644 (file)
   background: darken($ui-base-color, 8%);
   border-radius: 4px;
   padding-bottom: 44px;
+  direction: ltr;
 
   &.editable {
     border-radius: 0;
   max-width: 100%;
   border-radius: 4px;
   box-sizing: border-box;
+  direction: ltr;
 
   &.editable {
     border-radius: 0;
index 8a275d82f9b5dfb8434708f01e5e9ab628cc3534..2375bac90bf89d351acce84f2865f608d4eee714 100644 (file)
@@ -7,6 +7,34 @@ body.rtl {
     padding-right: 15px;
   }
 
+  .radio-button__input {
+    margin-right: 0;
+    margin-left: 10px;
+  }
+
+  .directory__card__bar .display-name {
+    margin-left: 0;
+    margin-right: 15px;
+  }
+
+  .display-name {
+    text-align: right;
+  }
+
+  .notification__message {
+    margin-left: 0;
+    margin-right: 68px;
+  }
+
+  .drawer__inner__mastodon > img {
+    transform: scaleX(-1);
+  }
+
+  .notification__favourite-icon-wrapper {
+    left: auto;
+    right: -26px;
+  }
+
   .landing-page__logo {
     margin-right: 0;
     margin-left: 20px;
@@ -152,7 +180,6 @@ body.rtl {
   }
 
   .status__action-bar {
-
     &__counter {
       margin-right: 0;
       margin-left: 11px;
@@ -345,6 +372,12 @@ body.rtl {
     }
   }
 
+  .columns-area--mobile .column,
+  .columns-area--mobile .drawer {
+    padding-left: 0;
+    padding-right: 0;
+  }
+
   .public-layout {
     .header {
       .nav-button {