WeKnora icon indicating copy to clipboard operation
WeKnora copied to clipboard

[Bug]: 设置弹窗在小屏幕溢出,关闭按钮不可见

Open hiasky opened this issue 5 months ago • 0 comments

Affected Component

Frontend UI

Bug Description

设置页面(Settings.vue)的弹窗在小屏幕设备或浏览器窗口高度不足时,弹窗会溢出视口,导致关闭按钮(右上角 ✕)被挤出屏幕可见区域。用户只能通过按 F11 进入全屏模式才能正常关闭设置弹窗。

Steps to Reproduce

  1. 在笔记本电脑上打开浏览器
  2. 浏览器窗口不要最大化,缩小窗口高度至约 800px 以下
  3. 进入 WeKnora,点击打开设置弹窗
  4. 观察弹窗顶部和底部的关闭按钮
Image

Expected Behavior

弹窗高度应自适应视口,始终完整显示在屏幕内,关闭按钮始终可见可点击。

Actual Behavior

弹窗固定高度 780px,加上遮罩层 padding: 20px × 2,总高度需 820px。在窗口高度不足时弹窗溢出屏幕,关闭按钮被挤出视图

WeKnora Version

v0.6.2

Deployment Method

Docker Compose

Operating System

Windows11

Relevant Logs


Confirmation

  • [x] I have searched existing issues and confirmed this is a new one

hiasky avatar Jun 19 '26 06:06 hiasky