From 1e582aed50025a93e0a9bcf4e55f60829e4d8168 Mon Sep 17 00:00:00 2001 From: Luca Toniolo <10792599+grandixximo@users.noreply.github.com> Date: Sat, 20 Jun 2026 16:23:05 +0800 Subject: [PATCH] docs(html): limit index section toggle to the label width Native
/ renders the summary as a full-width list-item, so a click anywhere on the row toggled the section. Set the summary to width: fit-content so only the label name is clickable and clicks in the empty space to its right do nothing. --- docs/src/index.css | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/index.css b/docs/src/index.css index e044b029dbd..c237ea0654b 100644 --- a/docs/src/index.css +++ b/docs/src/index.css @@ -18,4 +18,5 @@ summary { margin-bottom: 0.15em; font-family: sans-serif; cursor: pointer; + width: fit-content; }