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

+21
View File
@@ -24,3 +24,24 @@ const open = defineModel<boolean>('open', { default: false })
</NScrollbar>
</NModal>
</template>
<style>
/* 本组件专属布局与 Naive 内部结构覆盖。 */
@reference "../../styles/styles.css";
.app-dialog {
--app-field: var(--app-control);
--app-field-hover: var(--app-control-hover);
}
.app-dialog {
@apply max-w-[calc(100vw-32px)] max-h-[calc(100dvh-32px)];
}
.app-dialog .n-card-header {
@apply shrink-0;
}
.dialog-body-scroll {
@apply max-h-[calc(100dvh-154px)];
}
.app-dialog .n-card__content {
@apply min-h-0;
}
</style>