feat: 收口组件样式并调整移动端侧栏
This commit is contained in:
1 parent
d252d5513f
commit
e6e0f08072
68 files changed
+2717
-2775
No files matched your search
@@ -46,3 +46,45 @@ const open = defineModel<boolean>('open', { default: false })
|
||||
</NDrawerContent>
|
||||
</NDrawer>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
/* 本组件专属布局与 Naive 内部结构覆盖。 */
|
||||
@reference "../../styles/styles.css";
|
||||
.workspace-tools-drawer .n-drawer-header,
|
||||
.workspace-tools-drawer .n-drawer-footer {
|
||||
@apply bg-(--app-subtle);
|
||||
}
|
||||
.workspace-tools-drawer .n-drawer-body {
|
||||
@apply bg-(--app-body);
|
||||
}
|
||||
.workspace-tools-drawer {
|
||||
@apply max-w-full;
|
||||
}
|
||||
.workspace-tools-heading {
|
||||
@apply flex items-center justify-between gap-4 w-full text-[15px];
|
||||
}
|
||||
.workspace-tools-body {
|
||||
@apply p-5;
|
||||
}
|
||||
.workspace-tools-body .storyboard-controls,
|
||||
.workspace-tools-body .production-controls {
|
||||
@apply grid grid-cols-[repeat(auto-fit,_minmax(160px,_1fr))] gap-4 my-5;
|
||||
}
|
||||
.workspace-tools-body .storyboard-coverage {
|
||||
@apply my-5;
|
||||
}
|
||||
.workspace-tools-body .generation-row {
|
||||
@apply block;
|
||||
}
|
||||
.workspace-tools-body .generation-row > div + div {
|
||||
@apply mt-3.5;
|
||||
}
|
||||
.workspace-tools-body .production-pipeline {
|
||||
@apply grid-cols-[repeat(auto-fit,_minmax(min(100%,_230px),_1fr))];
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
.workspace-tools-body {
|
||||
@apply p-3.5;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user