feat: 收口组件样式并调整移动端侧栏

This commit is contained in:
GJ committed 2026-09-04 17:19:34 +08:00
1 parent d252d5513f
commit e6e0f08072
68 files changed
+2717 -2775

No files matched your search

+47
View File
@@ -80,3 +80,50 @@ onScopeDispose(() => {
</div>
</section>
</template>
<style>
/* 本组件专属布局与 Naive 内部结构覆盖。 */
@reference "../../styles/styles.css";
.project-frame {
@apply flex flex-col h-full min-h-0 overflow-hidden;
}
.project-header {
@apply shrink-0 py-[9px] px-5 bg-(--app-surface);
}
.project-header .n-page-header__main,
.project-header .n-page-header__title {
@apply min-w-0 overflow-hidden;
}
.project-title {
@apply max-w-full text-base font-semibold;
}
.project-notices.n-scrollbar {
@apply shrink-0 h-auto max-h-[100px] overflow-hidden;
}
.project-notices-content {
@apply py-2 px-6 grid gap-[5px];
}
.project-notices .n-alert {
@apply py-[7px] px-3 text-xs;
}
.project-view {
@apply flex-1 min-h-0 overflow-hidden;
}
.project-header .n-page-header-wrapper {
@apply min-w-0;
}
.project-access-gate {
@apply h-full;
}
.workspace-loading {
@apply grid place-content-center h-full;
}
@media (max-width: 760px) {
.project-header {
@apply py-2 px-3;
}
.project-title {
@apply text-sm;
}
}
</style>