Skip to content

Commit

Permalink
fix: 移动端塌缩
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanzhaoyu committed May 4, 2023
1 parent 3dff5bd commit 0f51e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/chat/layout/sider/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ watch(
</div>
</NLayoutSider>
<template v-if="isMobile">
<div v-show="!collapsed" class="fixed inset-0 z-40 bg-black/40" @click="handleUpdateCollapsed" />
<div v-show="!collapsed" class="fixed inset-0 z-40 w-full h-full bg-black/40" @click="handleUpdateCollapsed" />
</template>
<PromptStore v-model:visible="show" />
</template>

0 comments on commit 0f51e51

Please sign in to comment.