diff --git a/stash-web/src/App.css b/stash-web/src/App.css index f795ca8..e7019eb 100644 --- a/stash-web/src/App.css +++ b/stash-web/src/App.css @@ -287,7 +287,9 @@ .count-badge { position: absolute; top: -8px; - right: -30px; + /* 以左边缘定位:不管角标是 1 位还是 2 位数,和标题的距离都一样 */ + left: calc(100% + 8px); + right: auto; height: 16px; min-width: 16px; padding: 0 var(--su-space-1);