feat: 侧边栏标题旁显示版本号徽章(manifest 动态读取)v1.8.5

顶部标题右侧新增圆角版本徽章(如 v1.8.5),页脚版本同步;两处均 chrome.runtime.getManifest() 动态填充,后续升版只改 manifest 一处,杜绝版本号不一致。
This commit is contained in:
personal82555 committed 2026-10-21 00:07:12 +08:00
1 parent 5be9027fe7
commit f2af2955be
7 files changed
+32 -8

No files matched your search

+13
View File
@@ -30,6 +30,19 @@ body {
font-weight: 600;
}
.header h1 .ver-badge {
display: inline-block;
margin-left: 4px;
padding: 1px 8px;
border-radius: 10px;
background: rgba(255, 255, 255, 0.28);
color: #fff;
font-size: 11px;
font-weight: 700;
vertical-align: middle;
letter-spacing: 0.3px;
}
.search-section {
padding: 16px;
border-bottom: 1px solid #eee;