From a0f92f6fa322436dbf93e8125c8da1954a8a500b Mon Sep 17 00:00:00 2001 From: Matttttt <18152455+martholomew@users.noreply.github.com> Date: Tue, 14 May 2024 11:45:12 +0000 Subject: [PATCH] Details and Summary Tags CSS (Hopefully for the last time) (#929) * Re-adding CSS for Left Margin on Details Tag Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Got rid of ruling line for Summary and Details Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Fix tests for Summary and Details tags Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --- dev/data/structured-content-overrides.css | 3 --- ext/css/structured-content.css | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/dev/data/structured-content-overrides.css b/dev/data/structured-content-overrides.css index df4f0d80db..c792cbb684 100644 --- a/dev/data/structured-content-overrides.css +++ b/dev/data/structured-content-overrides.css @@ -81,6 +81,3 @@ .gloss-sc-summary { /* remove-rule */ } -.gloss-sc-details[open] .gloss-sc-summary { - /* remove-rule */ -} diff --git a/ext/css/structured-content.css b/ext/css/structured-content.css index e2c87beb6d..05bce018f7 100644 --- a/ext/css/structured-content.css +++ b/ext/css/structured-content.css @@ -255,11 +255,8 @@ color: var(--text-color-light3); } .gloss-sc-details { - border-bottom: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color); + padding-left: var(--list-padding1); } .gloss-sc-summary { list-style-position: outside; } -.gloss-sc-details[open] .gloss-sc-summary { - border-bottom: calc(1em / var(--font-size-no-units)) solid var(--medium-border-color); -}