Skip to content

Commit 79301f1

Browse files
authored
fix(SubAgentPage): 当中间的介绍文本非常长时,Flex 布局会自动挤压右侧的控制按钮区域 (#5306)
1 parent 4b2c854 commit 79301f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dashboard/src/views/SubAgentPage.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,13 @@
138138
</div>
139139

140140
<!-- Controls (stop propagation on clicks) -->
141-
<div class="d-flex align-center gap-2" @click.stop>
141+
<div class="d-flex align-center gap-2 flex-shrink-0" @click.stop>
142142
<v-switch
143143
v-model="agent.enabled"
144144
color="success"
145145
hide-details
146146
inset
147147
density="compact"
148-
class="mr-2"
149148
/>
150149
<v-btn
151150
icon="mdi-delete-outline"

0 commit comments

Comments
 (0)