RegularToot: adjust content left margin

This commit is contained in:
thislight 2024-11-22 14:41:04 +08:00
parent 57b242c93f
commit cac0abeb6b
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
.MediaAttachmentGrid {
/* Note: MeidaAttachmentGrid has hard-coded layout calcalation */
margin-top: 1em;
margin-left: var(--card-pad, 0);
margin-left: calc(var(--card-pad, 0) + 8px);
margin-right: var(--card-pad, 0);
gap: 4px;
contain: layout style;

View file

@ -1,5 +1,5 @@
.TootContent {
margin-left: var(--card-pad, 0);
margin-left: calc(var(--card-pad, 0) + 8px);
margin-right: var(--card-pad, 0);
line-height: 1.5;