fix(qa): 周报固定对照布局并移除模式切换按钮
build / build (push) Successful in 1m7s

始终保留正文编辑与排版预览,删除三模式切换状态和不再使用的样式。
自动保存状态保持原位置,窄屏沿用上下对照,复制及下载不变。
验证:三个按钮不渲染且两侧始终存在先红后绿,复制/持久化保存状态机回归、完整门禁和原生备份恢复通过。
This commit is contained in:
姚章浩
2026-10-25 17:48:27 +08:00
parent c239a5ef0e
commit 1d880a0f49
4 changed files with 38 additions and 54 deletions
+1 -17
View File
@@ -32,18 +32,9 @@
display: flex;
align-items: center;
gap: 16px;
justify-content: space-between;
justify-content: flex-end;
flex-wrap: wrap;
}
.qa-weekly-mode {
display: flex;
gap: 4px;
}
.qa-weekly-mode button[aria-pressed='true'] {
background: #eaf3ff;
color: #155cb5;
border-color: #a3c7f3;
}
.qa-weekly-editor-status {
font-size: 13px;
color: #64748b;
@@ -64,10 +55,6 @@
border-radius: 10px;
background: #fff;
}
.qa-weekly-editor-layout[data-mode='edit'],
.qa-weekly-editor-layout[data-mode='preview'] {
grid-template-columns: minmax(0, 1fr);
}
.qa-weekly-writing {
display: flex;
flex-direction: column;
@@ -122,9 +109,6 @@
min-height: 0;
max-height: none;
}
.qa-weekly-editor-layout[data-mode='preview'] .qa-weekly-preview {
border-left: 0;
}
.qa-weekly-source {
font-size: 12px;
color: #66778c;