fix(mobile): 优化编辑模式下的工具栏固定与交互

This commit is contained in:
2026-04-21 09:48:14 +08:00
parent 6057088b60
commit b881f31920
2 changed files with 38 additions and 1 deletions

View File

@@ -104,6 +104,15 @@ html, body {
z-index: 100;
}
/* 编辑模式:粘在视口顶部始终可见 */
.editor-toolbar.editing-mode {
position: fixed;
top: 0;
border-bottom: 1px solid #e0e0e0;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
z-index: 10000;
}
.editor-toolbar.active {
visibility: visible;
opacity: 1;