style: code format

This commit is contained in:
tbphp committed 2025-09-09 21:57:50 +08:00
1 parent c514293c2a
commit 84d631198b
2 files changed
+12 -9

No files matched your search

+7 -4
View File
@@ -51,8 +51,11 @@ const toggleMenu = () => {
</n-layout-header>
<n-drawer v-model:show="isMenuOpen" :width="260" placement="right">
<n-drawer-content title="GPT Load" body-content-style="padding: 0; display: flex; flex-direction: column; height: 100%;">
<div style="flex: 1; overflow-y: auto;">
<n-drawer-content
title="GPT Load"
body-content-style="padding: 0; display: flex; flex-direction: column; height: 100%;"
>
<div style="flex: 1; overflow-y: auto">
<nav-bar mode="vertical" @close="isMenuOpen = false" />
</div>
<div class="mobile-actions">
@@ -188,11 +191,11 @@ const toggleMenu = () => {
position: static;
transform: none;
}
.header-content {
overflow-x: visible;
}
.mobile-actions > :deep(*) {
width: 100%;
}
+5 -5
View File
@@ -950,16 +950,16 @@ const deselectAllColumns = () => {
flex-direction: column;
gap: 12px;
}
.filter-grid {
width: 100%;
}
.filter-item {
flex: 1 1 100%;
min-width: 100%;
}
.filter-actions {
width: 100%;
justify-content: flex-start;
@@ -971,13 +971,13 @@ const deselectAllColumns = () => {
.filter-actions {
width: 100%;
}
.filter-actions :deep(.n-button-group) {
display: flex;
flex-wrap: wrap;
width: 100%;
}
.filter-actions :deep(.n-button) {
flex: 1;
min-width: 40px;