diff --git a/src/timelines/MediaAttachmentGrid.css b/src/timelines/MediaAttachmentGrid.css index 34b22c9..ce2ef0f 100644 --- a/src/timelines/MediaAttachmentGrid.css +++ b/src/timelines/MediaAttachmentGrid.css @@ -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; diff --git a/src/timelines/toots/TootContent.css b/src/timelines/toots/TootContent.css index 86ed977..82713e4 100644 --- a/src/timelines/toots/TootContent.css +++ b/src/timelines/toots/TootContent.css @@ -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;