Skip to content

Commit

Permalink
Simplify footer layout and add more options dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Jul 14, 2024
1 parent f10a6ef commit a9980a9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions web/src/views/chat/layout/sider/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ watch(appStore, () => {
<footer class="flex items-center justify-between min-w-0 p-4 overflow-hidden border-t dark:border-neutral-800">
<Setting v-if="show" v-model:visible="show" />
<div class="flex-1 flex-shrink-0 overflow-hidden">
<NDropdown :options="options" @select="handleSelect">
<UserAvatar />
</NDropdown>
<UserAvatar />
</div>
<HoverButton :tooltip="$t('setting.snapshotLink')" @click="openSnapshotAll">
<span class="text-xl text-[#4f555e] dark:text-white">
Expand All @@ -113,5 +111,10 @@ watch(appStore, () => {
<SvgIcon icon="eos-icons:admin-outlined" />
</span>
</HoverButton>
<NDropdown :options="options" @select="handleSelect">
<HoverButton>
<SvgIcon icon="lucide:more-vertical" />
</HoverButton>
</NDropdown>
</footer>
</template>

0 comments on commit a9980a9

Please sign in to comment.