feat(更新入口): 更新入口移至标签栏
build.yaml / build (push) Successful in 48s

This commit is contained in:
xiaoqidun committed 2026-10-23 21:50:15 +08:00
1 parent 850057f46f
commit 62206c7a4b
2 files changed
+4 -21

No files matched your search

+1 -1
View File
@@ -16,6 +16,7 @@
<div id="documentTabs" class="document-tabs" role="tablist" aria-label="文件"></div>
<button id="documentNewTab" class="document-new-tab" type="button" title="新建"><span class="new-icon"></span></button>
<div class="document-title-drag"></div>
<button id="refreshAppButton" class="button app-update" type="button" hidden>更新</button>
</div>
<header class="toolbar-frame">
<div class="toolbar app-bar">
@@ -72,7 +73,6 @@
<button id="exportButton" class="button" type="button" data-short="多" disabled>文档</button>
</div>
</div>
<button id="refreshAppButton" class="button app-update" type="button" data-short="更" hidden>更新</button>
</header>
<div id="editorTools" class="editor-toolbar" hidden>
<div class="editor-group editor-actions">
+3 -20
View File
@@ -567,14 +567,13 @@ a:focus-visible {
}
.app-update {
order: 2;
flex: 0 0 auto;
align-self: center;
margin: 0 10px 0 0;
margin-left: 8px;
border-color: var(--accent);
background: #e4f3ef;
color: var(--accent-strong);
font-size: 14px;
font-size: 13px;
line-height: 1;
}
@@ -583,17 +582,6 @@ a:focus-visible {
background: #f2faf7;
}
.toolbar-frame:has(.app-update:not([hidden]))::before {
order: 1;
flex: 0 0 1px;
align-self: center;
width: 1px;
height: 22px;
margin: 0 12px 0 2px;
background: var(--line);
content: "";
}
.app-update[hidden] {
display: none;
}
@@ -4357,10 +4345,6 @@ audio.page-media {
}
@media (max-width: 640px) {
.app-update {
margin-right: 8px;
}
:root {
--bar-height: 42px;
--control-height: 28px;
@@ -4375,8 +4359,7 @@ audio.page-media {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tool-group + .tool-group::before,
.toolbar-frame:has(.app-update:not([hidden]))::before {
.tool-group + .tool-group::before {
display: none;
}