Skip to content

Commit

Permalink
Details and Summary Tags CSS (Hopefully for the last time) (#929)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
martholomew committed May 14, 2024
1 parent 82049f3 commit a0f92f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions dev/data/structured-content-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,3 @@
.gloss-sc-summary {
/* remove-rule */
}
.gloss-sc-details[open] .gloss-sc-summary {
/* remove-rule */
}
5 changes: 1 addition & 4 deletions ext/css/structured-content.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit a0f92f6

Please sign in to comment.