diff options
author | Plastikmensch <Plastikmensch@users.noreply.github.com> | 2023-04-16 17:45:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-16 17:45:18 +0200 |
commit | f28942cef991c9285236ea3ecace98c9b65c5242 (patch) | |
tree | a98e17651fbb7101d3a10dc50f2e910b48d38279 /app/javascript/flavours/glitch/styles/components/announcements.scss | |
parent | 0cbd579ef08ceb513c62140ccbdad65363455732 (diff) |
[Glitch] Refactor styles to use logical properties for positioning (#2156)
Port babd86e594bbdd6dcc512d522ccbb4b24c1355e3 and 45848d654709678ba35d9e97e0b3df3e3916cd75 to glitch-soc Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components/announcements.scss')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/announcements.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/announcements.scss b/app/javascript/flavours/glitch/styles/components/announcements.scss index feaff81f5..be27120a7 100644 --- a/app/javascript/flavours/glitch/styles/components/announcements.scss +++ b/app/javascript/flavours/glitch/styles/components/announcements.scss @@ -84,13 +84,13 @@ display: block; font-weight: 500; margin-bottom: 10px; - padding-right: 18px; + padding-inline-end: 18px; } &__unread { position: absolute; top: 19px; - right: 19px; + inset-inline-end: 19px; display: block; background: $highlight-text-color; border-radius: 50%; @@ -104,7 +104,7 @@ color: $darker-text-color; position: absolute; bottom: 3px; - right: 0; + inset-inline-end: 0; } } @@ -121,7 +121,7 @@ flex-wrap: wrap; align-items: center; margin-top: 15px; - margin-left: -2px; + margin-inline-start: -2px; width: calc(100% - (90px - 33px)); &__item { @@ -162,7 +162,7 @@ font-size: 13px; font-weight: 500; text-align: center; - margin-left: 6px; + margin-inline-start: 6px; color: $darker-text-color; } |