From a50ca857aaf8219504f7b16154e891e950a2506a Mon Sep 17 00:00:00 2001 From: Xubai Wang Date: Wed, 23 Feb 2022 23:28:15 +0800 Subject: [PATCH] fix: wrap navbar overflow --- static/style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index a4e0c9a..d056b40 100644 --- a/static/style.css +++ b/static/style.css @@ -273,10 +273,15 @@ nav { margin-top: 1ex; } -.nav details, .nav_link { +.nav details > * { padding-left: 2ex; } +.nav summary { + cursor: pointer; + padding-left: 0; +} + .nav summary::marker { font-size: 85%; } @@ -294,6 +299,10 @@ nav { overflow-wrap: break-word; } +.nav_link { + overflow-wrap: break-word; +} + .decl > div, .mod_doc { padding-left: 8px; padding-right: 8px;