From db3f096794e890cd20f0b6a32c31b8efe121ecf1 Mon Sep 17 00:00:00 2001 From: Server <10.9.8.250@reg.snw.su> Date: Mon, 10 Aug 2026 00:11:50 +0000 Subject: [PATCH] Reduce mobile menu icon size --- docslib/templates/client.css | 2 +- tests/test_server.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docslib/templates/client.css b/docslib/templates/client.css index ab08fc0..5a532d6 100644 --- a/docslib/templates/client.css +++ b/docslib/templates/client.css @@ -165,7 +165,7 @@ button { color: inherit; } .mobile-search-results .search-result strong { font-size: 1.25rem; } .mobile-search-results .search-result span { font-size: 1rem; } .mobile-dock { position: fixed; inset: auto 0 0; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 16px 28px max(22px, env(safe-area-inset-bottom)); background: linear-gradient(0deg, var(--shell) 74%, transparent); } - .mobile-menu-button { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; color: var(--text); background: var(--control); font-size: 2rem; } + .mobile-menu-button { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; color: var(--text); background: var(--control); font-size: 1.6rem; } body.mobile-menu-open .mobile-menu-button { background: var(--active); } .mobile-search-control { display: flex; min-width: 0; height: 72px; flex: 1; align-items: center; border-radius: 38px; background: var(--control); } .mobile-search-control input { padding-left: 30px; font-size: 1.3rem; } diff --git a/tests/test_server.py b/tests/test_server.py index fa5e960..e56b811 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -107,6 +107,7 @@ def test_all_endpoints_and_self_contained_build(tmp_path): assert ".mobile-search-control input { padding-left: 30px; font-size: 1.3rem; }" in html assert "background: transparent; font-size: 2.3rem" in html assert ".mobile-page-tree .tree-link { min-height: 46px; padding: 9px 14px; border-radius: 24px" in html + assert ".mobile-menu-button { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; color: var(--text); background: var(--control); font-size: 1.6rem; }" in html assert "