mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 07:25:12 +00:00
correct collapsed in reply to line alignment with small screen sizes
This commit is contained in:
parent
9ce2c8c081
commit
460e7f05ab
1 changed files with 7 additions and 3 deletions
|
@ -979,7 +979,7 @@ function emitUpdReaction(emoji: string, delta: number) {
|
|||
|
||||
.collapsedInReplyToLine {
|
||||
position: absolute;
|
||||
left: 56px;
|
||||
left: calc(32px + .5 * var(--avatar));
|
||||
// using solid instead of dotted, stylelistic choice
|
||||
border-left: var(--thread-width) solid var(--thread);
|
||||
top: calc(28px + 28px); // 28px of .root padding, plus 28px of avatar height (see SkNote)
|
||||
|
@ -1169,7 +1169,7 @@ function emitUpdReaction(emoji: string, delta: number) {
|
|||
}
|
||||
|
||||
.collapsedInReplyToLine {
|
||||
left: 47px;
|
||||
left: calc(26px + .5 * var(--avatar));
|
||||
}
|
||||
|
||||
.article {
|
||||
|
@ -1189,6 +1189,10 @@ function emitUpdReaction(emoji: string, delta: number) {
|
|||
.footer {
|
||||
margin-bottom: -8px;
|
||||
}
|
||||
|
||||
.collapsedInReplyToLine {
|
||||
left: calc(25px + .5 * var(--avatar));
|
||||
}
|
||||
}
|
||||
|
||||
@container (max-width: 500px) {
|
||||
|
@ -1224,7 +1228,7 @@ function emitUpdReaction(emoji: string, delta: number) {
|
|||
}
|
||||
|
||||
.collapsedInReplyToLine {
|
||||
left: 45px;
|
||||
left: calc(24px + .5 * var(--avatar));
|
||||
}
|
||||
|
||||
.article {
|
||||
|
|
Loading…
Reference in a new issue