feat: 修改 Prompt Store 移动端样式

main
ChenZhaoYu 2 years ago
parent 73bf8c01a9
commit 0481726608

@ -325,10 +325,10 @@ const dataSource = computed(() => {
<NTabs type="segment"> <NTabs type="segment">
<NTabPane name="local" :tab="$t('store.local')"> <NTabPane name="local" :tab="$t('store.local')">
<div <div
class="flex items-center justify-between" class="flex gap-3"
:class="isMobile ? 'flex-col gap-2' : 'flex-row'" :class="[isMobile ? 'flex-col' : 'flex-row justify-between']"
> >
<div class="flex items-center justify-end space-x-4"> <div class="flex items-center space-x-4">
<NButton <NButton
type="primary" type="primary"
size="small" size="small"
@ -358,7 +358,7 @@ const dataSource = computed(() => {
{{ $t('store.clearStoreConfirm') }} {{ $t('store.clearStoreConfirm') }}
</NPopconfirm> </NPopconfirm>
</div> </div>
<div class="flex items-center space-x-4"> <div class="flex items-center">
<NInput v-model:value="searchValue" style="width: 100%" /> <NInput v-model:value="searchValue" style="width: 100%" />
</div> </div>
</div> </div>

Loading…
Cancel
Save