diff --git a/stash-web/src/App.css b/stash-web/src/App.css index 76bbbe1..f795ca8 100644 --- a/stash-web/src/App.css +++ b/stash-web/src/App.css @@ -133,13 +133,15 @@ white-space: nowrap; } -/* 滚动信息只占中间约 2/3:原来铺满整条,信息一长就把两边挤没了 */ +/* 滚动信息只占中间约 2/3,并靠右贴近操作图标 */ .header-ticker { max-width: 720px; + margin-left: auto; } .header-actions { - margin-left: auto; + /* 靠右交给 .header-ticker 的 margin-left: auto;没有滚动信息时由 space-between 兜住 */ + flex: none; } /* ---------- 搜索:页头下的工具条(Layout 的 toolbar 插槽) ---------- */ @@ -285,7 +287,7 @@ .count-badge { position: absolute; top: -8px; - right: -18px; + right: -30px; height: 16px; min-width: 16px; padding: 0 var(--su-space-1);