From e526df14dd325254c3f672c43cf14d6acd71fb77 Mon Sep 17 00:00:00 2001 From: Server <10.9.8.250@reg.snw.su> Date: Mon, 10 Aug 2026 00:17:04 +0000 Subject: [PATCH] Refine page navigation buttons --- 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 5a532d6..c6cdc4c 100644 --- a/docslib/templates/client.css +++ b/docslib/templates/client.css @@ -124,7 +124,7 @@ button { color: inherit; } .content th, .content td { padding: 10px 13px; border: 1px solid var(--border); text-align: left; } .content th { background: var(--control); } .page-navigation { display: flex; width: min(1120px, calc(100% - 72px)); gap: 10px; margin: 0 auto; padding: 0 0 42px; } -.nav-card { display: flex; min-height: 48px; align-items: center; gap: 8px; padding: 7px 16px; border: 0; border-radius: 26px; color: var(--text); background: var(--control); cursor: pointer; } +.nav-card { display: flex; min-height: 48px; align-items: center; gap: 8px; padding: 7px 20px; border: 0; border-radius: 30px; color: var(--text); background: var(--control); cursor: pointer; } .nav-card:hover:not(:disabled) { background: var(--active); } .nav-card:disabled { display: none; } .nav-card small { color: inherit; font-size: 1.3rem; } diff --git a/tests/test_server.py b/tests/test_server.py index e56b811..f451ea5 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -108,6 +108,7 @@ def test_all_endpoints_and_self_contained_build(tmp_path): 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 ".nav-card { display: flex; min-height: 48px; align-items: center; gap: 8px; padding: 7px 20px; border: 0; border-radius: 30px" in html assert "