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

+23
View File
@@ -50,3 +50,26 @@ watch(
>
</div>
</template>
<style>
/* 本组件专属布局与 Naive 内部结构覆盖。 */
@reference "../../styles/styles.css";
.asset-image {
@apply grid place-items-center w-full aspect-[4/3] overflow-hidden bg-(--app-subtle);
}
.asset-image img {
@apply w-full h-full min-h-0;
}
.asset-image-empty {
@apply flex items-center justify-center flex-col gap-2.5 p-5 text-muted text-[11px] text-center;
}
.asset-image .n-image {
@apply w-full h-full min-h-0 min-w-0 flex justify-center;
}
.asset-image .n-image img {
@apply w-full h-full;
}
.asset-image.asset-image-preview {
@apply h-[min(42dvh,420px)] min-h-0 aspect-auto;
}
</style>