From 2c27d150f777f08165d3c8c60c8aa2a0fa164fdd Mon Sep 17 00:00:00 2001 From: Xia Li-yao Date: Fri, 20 May 2022 11:52:42 -0400 Subject: Hide synopsis from search when hidden (#1486) Fix #1451 --- haddock-api/resources/html/Linuwial.std-theme/linuwial.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'haddock-api/resources/html/Linuwial.std-theme') 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; -- cgit v1.2.3