From 416fd1eec60ce7d911e7b03d56679ecd4b6a5726 Mon Sep 17 00:00:00 2001 From: Server <10.9.8.250@reg.snw.su> Date: Mon, 10 Aug 2026 00:10:23 +0000 Subject: [PATCH] Round mobile tree links --- 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 7298f3b..ab08fc0 100644 --- a/docslib/templates/client.css +++ b/docslib/templates/client.css @@ -156,7 +156,7 @@ button { color: inherit; } .mobile-header-buttons { display: flex; flex-direction: column; gap: 6px; margin-bottom: 38px; } .mobile-header-buttons .header-link { padding: 12px 18px; border-radius: 28px; font-size: 1.05rem; } .mobile-page-tree { overflow: visible; padding-bottom: 24px; } - .mobile-page-tree .tree-link { min-height: 46px; padding: 9px 14px; font-size: 1.05rem; } + .mobile-page-tree .tree-link { min-height: 46px; padding: 9px 14px; border-radius: 24px; font-size: 1.05rem; } .mobile-page-tree .tree-children { margin-left: 20px; padding-left: 12px; } .mobile-search-view { flex-direction: column; justify-content: flex-end; padding: 40px 28px calc(142px + env(safe-area-inset-bottom)); overflow: hidden; } .mobile-search-results { display: flex; max-height: 100%; flex: 1; flex-direction: column-reverse; justify-content: flex-start; gap: 20px; overflow-y: auto; } diff --git a/tests/test_server.py b/tests/test_server.py index f26ae58..fa5e960 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -106,6 +106,7 @@ def test_all_endpoints_and_self_contained_build(tmp_path): assert "flex-direction: column-reverse" in html 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 "