fix(M7.8c): 响应式覆盖加!important(常规定义后出现会覆盖媒体查询);上下布局/手机预览规则现在真正生效

这个提交包含在:
langxm
2026-10-14 14:27:54 +08:00
父节点 7669f94dae
当前提交 00c6f30fef
+2 -2
查看文件
@@ -154,8 +154,8 @@ body{font-family:var(--sans);background:var(--bg);color:var(--text);font-size:14
.editor{flex:1;min-width:0;display:flex;flex-direction:column;background:var(--card);min-height:0}
@media (max-width:859px), (min-height:1000px){
.editor{flex:4;min-height:180px}
.editor-body{flex-direction:column}
.md-preview{width:100%;min-width:0;max-height:40%;flex:none}
.editor-body{flex-direction:column !important}
.md-preview{width:100% !important;min-width:0 !important;max-height:40% !important;flex:none !important}
}
.editor-head{flex:none;display:flex;align-items:center;gap:10px;padding:9px 16px;border-bottom:1px solid var(--line2);background:var(--line2);font-size:12px;color:var(--text2)}
.editor-head .morph{display:flex;gap:4px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:2px;font-size:11.5px}