[Glitch] Refactor styles to use logical properties for positioning (#2156)

Port babd86e594 and 45848d6547 to glitch-soc

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
This commit is contained in:
Plastikmensch
2023-04-16 17:45:18 +02:00
committed by GitHub
parent 0cbd579ef0
commit f28942cef9
36 changed files with 349 additions and 579 deletions
@@ -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;
}