Compare commits

...

3 Commits

Author SHA1 Message Date
zhoudev 0d44bd6b8d
Pre Merge pull request !403 from zhoudev/N/A 2025-09-04 12:06:42 +00:00
RuoYi ac92ae3ae6 修复固定头部时出现的导航栏偏移问题 2025-09-04 20:06:26 +08:00
zhoudev 7b9e9d1ea4
update ruoyi-gateway/src/main/resources/bootstrap.yml.
Signed-off-by: zhoudev <15321072+zhoudev@user.noreply.gitee.com>
2025-04-23 02:56:07 +00:00
3 changed files with 19 additions and 12 deletions

View File

@ -14,10 +14,10 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 127.0.0.1:8848
server-addr: nacos:8848
config:
# 配置中心地址
server-addr: 127.0.0.1:8848
server-addr: nacos:8848
# 配置文件格式
file-extension: yml
# 共享配置
@ -33,7 +33,7 @@ spring:
datasource:
ds1:
nacos:
server-addr: 127.0.0.1:8848
server-addr: nacos:8848
dataId: sentinel-ruoyi-gateway
groupId: DEFAULT_GROUP
data-type: json

View File

@ -53,12 +53,19 @@ export default {
overflow: hidden;
}
.fixed-header + .app-main {
overflow-y: auto;
scrollbar-gutter: auto;
height: calc(100vh - 50px);
min-height: 0px;
}
.app-main:has(.copyright) {
padding-bottom: 36px;
}
.fixed-header + .app-main {
padding-top: 50px;
margin-top: 50px;
}
.hasTagsView {
@ -68,19 +75,14 @@ export default {
}
.fixed-header + .app-main {
padding-top: 84px;
margin-top: 84px;
height: calc(100vh - 84px);
min-height: 0px;
}
}
</style>
<style lang="scss">
// fix css style bug in open el-dialog
.el-popup-parent--hidden {
.fixed-header {
padding-right: 6px;
}
}
::-webkit-scrollbar {
width: 6px;
height: 6px;

View File

@ -77,6 +77,11 @@ export default {
}
}
.main-container:has(.fixed-header) {
height: 100vh;
overflow: hidden;
}
.drawer-bg {
background: #000;
opacity: 0.3;