1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-03-29 10:29:45 +08:00

修复版本号显示new位置错误

This commit is contained in:
涵曦
2026-01-17 13:30:57 +08:00
parent 0793b19081
commit a1994b35cb
2 changed files with 8 additions and 7 deletions

View File

@@ -25,8 +25,7 @@
<body class="index_page">
<div class="player">
<h1>小爱音箱播放器
<a id="version" href="https://xdocs.hanxi.cc/issues/changelog.html" target="_blank">0.3.0</a><span
id="versionnew" class="new-badge"></span>
<a href="https://xdocs.hanxi.cc/issues/changelog.html" target="_blank" style="position: relative;"><span id="version">0.4.0</span><span id="versionnew" class="new-badge"></span></a>
</h1>
<label for="did" style="display: flex;align-items: center;">选择播放设备:

View File

@@ -26,7 +26,6 @@ body {
text-align: center;
max-width: 360px;
position: relative;
overflow: hidden;
}
h1 {
@@ -50,14 +49,17 @@ h1 a:hover {
}
.new-badge {
position: absolute;
top: -8px;
right: -35px;
background-color: #ff4757;
color: white;
border-radius: 12px;
padding: 2px 6px;
font-size: 12px;
margin-left: 5px;
padding: 3px 7px;
font-size: 11px;
font-weight: bold;
display: none;
width: fit-content;
z-index: 10;
}
label {