From ac92ae3ae6842ac809fc3d53931a6db02d313fa6 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Thu, 04 Sep 2025 20:06:26 +0800
Subject: [PATCH] 修复固定头部时出现的导航栏偏移问题
---
ruoyi-ui/src/layout/index.vue | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ruoyi-ui/src/layout/index.vue b/ruoyi-ui/src/layout/index.vue
index 2929054..4ce77c4 100644
--- a/ruoyi-ui/src/layout/index.vue
+++ b/ruoyi-ui/src/layout/index.vue
@@ -77,6 +77,11 @@
}
}
+ .main-container:has(.fixed-header) {
+ height: 100vh;
+ overflow: hidden;
+ }
+
.drawer-bg {
background: #000;
opacity: 0.3;
--
Gitblit v1.9.3