RegularToot: remove the left margin of content
All checks were successful
/ depoly (push) Successful in 1m20s
All checks were successful
/ depoly (push) Successful in 1m20s
This commit is contained in:
parent
7e5692549d
commit
57b242c93f
2 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
.MediaAttachmentGrid {
|
.MediaAttachmentGrid {
|
||||||
/* Note: MeidaAttachmentGrid has hard-coded layout calcalation */
|
/* Note: MeidaAttachmentGrid has hard-coded layout calcalation */
|
||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px);
|
margin-left: var(--card-pad, 0);
|
||||||
margin-right: var(--card-pad, 0);
|
margin-right: var(--card-pad, 0);
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
contain: layout style;
|
contain: layout style;
|
||||||
|
@ -33,4 +33,8 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:where(.thread-top, .thread-mid) > .MediaAttachmentGrid {
|
||||||
|
margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px);
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
.TootContent {
|
.TootContent {
|
||||||
margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px);
|
margin-left: var(--card-pad, 0);
|
||||||
margin-right: var(--card-pad, 0);
|
margin-right: var(--card-pad, 0);
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
|
||||||
|
@ -29,4 +29,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
:where(.thread-top, .thread-mid) > .TootContent {
|
||||||
|
margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px);
|
||||||
}
|
}
|
Loading…
Reference in a new issue