Skip to content

Commit

Permalink
UModal位置调整
Browse files Browse the repository at this point in the history
  • Loading branch information
dinphy committed Sep 16, 2024
1 parent f67bf3e commit a3a8a8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion front/components/Memo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</div>
</div>
<template>
<UModal v-model="moreToolbar">
<UModal v-model="moreToolbar" :ui="{container: 'sm:items-end'}">
<div class="flex items-center justify-center gap-8 p-4 text-gray-500 dark:text-white">
<template v-if="global.userinfo.id === 1">
<div class="flex flex-col gap-1 cursor-pointer items-center" @click="setPinned(item.id)">
Expand Down
2 changes: 1 addition & 1 deletion front/components/MobileNav.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<UModal v-model="open">
<UModal v-model="open" :ui="{container: 'sm:items-end'}">
<div @click="navigate('/new')" v-if="global.userinfo.token " title="发表" class="flex flex-col items-center p-4 pt-8 text-gray-500 dark:text-white">
<UIcon name="i-mage-edit" class="text-[#9fc84a] w-7 h-7 cursor-pointer"/>
<span>发表</span>
Expand Down

0 comments on commit a3a8a8f

Please sign in to comment.