aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-10-11 19:37:23 -0400
committertdro <tdro@noreply.example.com>2023-10-11 19:37:23 -0400
commitdaddf9e6ed828cd90d1f6db38aa72d6aef66b0b5 (patch)
treefe780f32d7d2cfc508aaeedcbe9cdfca491506e8
parent2a99a6ec56e44e20523a9a3228d3bb4382e1905b (diff)
downloadcanory-daddf9e6ed828cd90d1f6db38aa72d6aef66b0b5.tar.gz
canory-daddf9e6ed828cd90d1f6db38aa72d6aef66b0b5.tar.bz2
canory-daddf9e6ed828cd90d1f6db38aa72d6aef66b0b5.zip
themes/default/layouts/shortcodes/disclose: Avoid &nbsp;
-rw-r--r--assets/css/default.css2
-rw-r--r--themes/default/layouts/shortcodes/disclose.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index dffb4d6..0807056 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -1389,6 +1389,7 @@ micro-summary details[data-disclosure][open] summary:after {
display: inline;
font-size: 85%;
vertical-align: bottom;
+ margin-left: 0.25rem;
}
micro-summary details[data-disclosure] summary:hover,
@@ -1819,7 +1820,6 @@ following-list details[open][data-expand="more"] summary:after {
following-list details[data-expand="more"] summary:after,
following-list details[open][data-expand="more"] summary:after {
- margin-left: 0.25rem;
padding: 0 0.5rem;
font-size: 100%;
}
diff --git a/themes/default/layouts/shortcodes/disclose.html b/themes/default/layouts/shortcodes/disclose.html
index d8fbfe1..7f0f805 100644
--- a/themes/default/layouts/shortcodes/disclose.html
+++ b/themes/default/layouts/shortcodes/disclose.html
@@ -5,6 +5,6 @@
{{- end -}}
<details data-disclosure="">
- <summary>{{- (or $.Page.Params.title $text) | markdownify -}}&nbsp;</summary>
+ <summary>{{- (or $.Page.Params.title $text) | markdownify -}}</summary>
</details>
{{- /* This comment removes trailing newlines and white spaces. */ -}}