fix: 修复所有页面 Tab 导航下方冗余空白
- 将 body 布局从普通流改为 flex 纵向布局,navbar 和内容区自然排列 - navbar 移除 position:sticky,改为 flex-shrink:0 作为固定头部 - 新增 .main-content 工具类(flex:1; overflow:hidden),替代 calc(100vh-56px)+margin-top 方案 - builder/dashboard 页面使用 main-content 类占满剩余空间 - settings 页面 margin-top 从 80px 调整为 24px
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<link rel="stylesheet" href="/static/common.css">
|
||||
</head>
|
||||
<body>
|
||||
<div style="max-width:640px;margin:80px auto 0;padding:0 24px">
|
||||
<div style="max-width:640px;margin:24px auto 0;padding:0 24px">
|
||||
<h1 style="font-size:24px;font-weight:700;margin-bottom:24px">⚙️ 设置</h1>
|
||||
|
||||
<!-- LLM 配置 -->
|
||||
|
||||
Reference in New Issue
Block a user