From b3e48338c103a29586e21ff8569e6cde26e7bf37 Mon Sep 17 00:00:00 2001 From: JGZYES Date: Sat, 5 Sep 2026 12:01:33 +0800 Subject: [PATCH] web: docs layout self-contained inline CSS (guaranteed left tree + right md) The docs page relied on external assets/style.css which may be stale/cached on the server, leaving the app unstyled (directory items inline, content bare). Embed the full docs-Layout CSS inline in docs/index.php with concrete colors (no CSS vars) and force the tree links to display:block vertically, so the left file tree and right rendered markdown always render correctly regardless of the external stylesheet. Responsive single-column fallback included. --- web/docs/index.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/web/docs/index.php b/web/docs/index.php index 7fd1d73..bce0cca 100644 --- a/web/docs/index.php +++ b/web/docs/index.php @@ -39,6 +39,37 @@ if (is_file($mdPath)) { pmm_header('docs', '文档 · ' . $title); ?> +