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

zio/stable
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
1 changed files with 7 additions and 6 deletions

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 />