un-pany / v3-admin-vite

☀️ A vue3 admin template | vue3 admin/element plus admin/vite admin/vue3 template/vue3 后台/vue3 模板/vue3 后台管理系统
https://un-pany.github.io/v3-admin-vite
MIT License
5.27k stars 892 forks source link

开启全屏后顶部存在一个margin #165

Closed Stonmore closed 7 months ago

Aaron-zon commented 8 months ago

image 木有发现,给张图呗

Stonmore commented 8 months ago

抱歉,是内容区全屏 ![Uploading Snipaste_2024-02-23_17-09-41.png…]()

Stonmore commented 8 months ago
Snipaste_2024-02-23_17-09-41
Stonmore commented 8 months ago

看了源码应该是顶部菜单没有隐藏 document.query('html')这块出了问题

Aaron-zon commented 8 months ago

这里嘛,是个padding吧 image

Stonmore commented 8 months ago

对的是这块,全屏的时候上方有个div没有隐藏

pany-ang commented 7 months ago

我很早就注意到了这个问题,所以开发了 “内容区放大” 来代替 “内容区全屏”

pany-ang commented 7 months ago

952b327261c83b799104f5a31cba8124061aafe1 这个 commit 比较优雅的解决了这个问题