From 5edfad78427867580d29506d574e91bcc07b273e Mon Sep 17 00:00:00 2001 From: qing <1776177662@qq.com> Date: Mon, 27 Jul 2026 12:33:27 +0800 Subject: [PATCH] refix --- static/public/css/theme.css | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/static/public/css/theme.css b/static/public/css/theme.css index bccdde5..7981abf 100644 --- a/static/public/css/theme.css +++ b/static/public/css/theme.css @@ -219,20 +219,23 @@ button[type="button"], input[type="button"] { background: var(--accent-soft); co /* ===== Minimap (dnfs) ===== */ .minimap { - position: sticky; - top: 0.5rem; - z-index: 10; + position: fixed; + right: 1rem; + top: 50%; + transform: translateY(-50%); + z-index: 100; display: flex; - flex-wrap: wrap; + flex-direction: column; gap: 0.4rem; + max-height: 80vh; + overflow-y: auto; padding: 0.6rem 0.75rem; - margin-bottom: 1rem; border-radius: var(--radius-md); background: rgba(253, 246, 238, 0.72); border: 1px solid var(--border-light); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); - box-shadow: var(--shadow-sm); + box-shadow: var(--shadow-md); transition: background 0.2s, border-color 0.2s; } @media (prefers-color-scheme: dark) {