diff options
author | Matttttt <18152455+martholomew@users.noreply.github.com> | 2024-05-14 11:45:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 11:45:12 +0000 |
commit | a0f92f6fa322436dbf93e8125c8da1954a8a500b (patch) | |
tree | 7e89858a0675d395985223b680e9974fe5453e54 | |
parent | 82049f3439acae346767351827e0963a2586b702 (diff) |
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>
-rw-r--r-- | dev/data/structured-content-overrides.css | 3 | ||||
-rw-r--r-- | ext/css/structured-content.css | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/dev/data/structured-content-overrides.css b/dev/data/structured-content-overrides.css index df4f0d80..c792cbb6 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 e2c87beb..05bce018 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); -} |