aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources
diff options
context:
space:
mode:
authorXia Li-yao <Lysxia@users.noreply.github.com>2022-05-20 11:52:42 -0400
committerGitHub <noreply@github.com>2022-05-20 17:52:42 +0200
commit2c27d150f777f08165d3c8c60c8aa2a0fa164fdd (patch)
treeb1dbc6c7f53278a444aa6d042594eeb13916729e /haddock-api/resources
parent283877f9089761415e6a3f10203f14b6202d6d9c (diff)
Hide synopsis from search when hidden (#1486)
Fix #1451
Diffstat (limited to 'haddock-api/resources')
-rw-r--r--haddock-api/resources/html/Linuwial.std-theme/linuwial.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/haddock-api/resources/html/Linuwial.std-theme/linuwial.css b/haddock-api/resources/html/Linuwial.std-theme/linuwial.css
index cbb58a03..4164b849 100644
--- a/haddock-api/resources/html/Linuwial.std-theme/linuwial.css
+++ b/haddock-api/resources/html/Linuwial.std-theme/linuwial.css
@@ -544,6 +544,10 @@ table.info {
background: url(synopsis.png) no-repeat -75px -8px;
}
+#synopsis details:not([open]) > ul {
+ visibility: hidden;
+}
+
#synopsis ul {
height: 100%;
overflow: auto;