fix(mobile): fix long text wapped (#311)

This commit is contained in:
Chris 2022-12-03 13:19:59 +08:00 committed by GitHub
parent 3952dd6cd6
commit 73f1f1d151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,14 +15,15 @@ defineProps<{
<NuxtLink v-if="back" flex="~ gap1" items-center btn-text p-0 @click="$router.go(-1)"> <NuxtLink v-if="back" flex="~ gap1" items-center btn-text p-0 @click="$router.go(-1)">
<div i-ri:arrow-left-line /> <div i-ri:arrow-left-line />
</NuxtLink> </NuxtLink>
<div line-clamp-1>
<slot name="title" /> <slot name="title" />
<div h-7 w-1px />
</div> </div>
<div flex items-center> <div flex items-center shrink-0>
<slot name="actions" /> <slot name="actions" />
<NavUser v-if="isMediumScreen" /> <NavUser v-if="isMediumScreen" />
</div> </div>
</div> </div>
</div>
<slot name="header" /> <slot name="header" />
</div> </div>
<slot /> <slot />