chore: 优化布局

This commit is contained in:
dap
2024-10-18 15:43:57 +08:00
parent 6e7fade539
commit 9cdc2780b3
3 changed files with 10 additions and 16 deletions

View File

@@ -6,17 +6,11 @@ import DictTypePanel from './type/index.vue';
</script>
<template>
<Page :auto-content-height="true" content-class="flex flex-col lg:flex-row">
<Page
:auto-content-height="true"
content-class="flex flex-col lg:flex-row gap-4"
>
<DictTypePanel class="flex-1 overflow-hidden" />
<DictDataPanel class="flex-1 overflow-hidden" />
</Page>
</template>
<style scoped>
/**
TODO: ugly code
*/
:deep(.p-4) {
padding: 6px;
}
</style>