From 3a3fa40437ea3266932ca123390b07f0ff71e430 Mon Sep 17 00:00:00 2001 From: thislight Date: Fri, 22 Nov 2024 18:34:56 +0800 Subject: [PATCH] Revert "RegularToot: adjust content left margin" This reverts commit cac0abeb6bcdf49de7fbd99c59ac558e937c9d25. --- src/timelines/toots/MediaAttachmentGrid.css | 2 +- src/timelines/toots/TootContent.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/timelines/toots/MediaAttachmentGrid.css b/src/timelines/toots/MediaAttachmentGrid.css index ce2ef0f..34b22c9 100644 --- a/src/timelines/toots/MediaAttachmentGrid.css +++ b/src/timelines/toots/MediaAttachmentGrid.css @@ -1,7 +1,7 @@ .MediaAttachmentGrid { /* Note: MeidaAttachmentGrid has hard-coded layout calcalation */ margin-top: 1em; - margin-left: calc(var(--card-pad, 0) + 8px); + margin-left: var(--card-pad, 0); 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 82713e4..86ed977 100644 --- a/src/timelines/toots/TootContent.css +++ b/src/timelines/toots/TootContent.css @@ -1,5 +1,5 @@ .TootContent { - margin-left: calc(var(--card-pad, 0) + 8px); + margin-left: var(--card-pad, 0); margin-right: var(--card-pad, 0); line-height: 1.5;