From 0a356c20e0083a4f6fbffeb504566f242131cb00 Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Thu, 23 Nov 2023 11:11:45 -0700 Subject: [PATCH] FIX: dropdown toggle height when closed (#57) --- sphinx_togglebutton/_static/togglebutton.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sphinx_togglebutton/_static/togglebutton.css b/sphinx_togglebutton/_static/togglebutton.css index 54a6787..8887e0c 100644 --- a/sphinx_togglebutton/_static/togglebutton.css +++ b/sphinx_togglebutton/_static/togglebutton.css @@ -43,6 +43,7 @@ margin: 0; opacity: 0; visibility: hidden; + display: block; } /* General button style and position*/ @@ -157,4 +158,4 @@ details.toggle-details[open] summary ~ * { details.toggle-details summary { display: none; } -} \ No newline at end of file +}