mirror of
https://github.com/KingHWJ/WeReadBoard.git
synced 2026-11-03 18:24:58 +08:00
修复刷新按钮宽度抖动:改用固定 width:120px
- min-width 改为固定 width:120px,容纳最长文案'↻ 同步中...' - transition 从 all 改为仅 color/border/opacity,避免宽度动画 - 添加 box-sizing:border-box 确保 padding 不撑大按钮
This commit is contained in:
1 parent
7bc02075bd
commit
baeda63646
2 files changed
+25
-2
No files matched your search
@@ -774,10 +774,11 @@ body {
|
||||
color: var(--text-secondary);
|
||||
background: var(--bg-card);
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
transition: color 0.2s, border-color 0.2s, opacity 0.2s;
|
||||
white-space: nowrap;
|
||||
min-width: 96px;
|
||||
width: 120px;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.shelf-refresh-btn:hover:not(:disabled) {
|
||||
|
||||
Reference in new issue
Block a user