Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
6e5eac6
Optimize page layout style
zhao365845726 Mar 1, 2026
55e5f1d
Optimize knowledgebase index page style and search function
zhao365845726 Mar 1, 2026
d2c5deb
Optimize knowledge add and edit dialogs style
zhao365845726 Mar 1, 2026
675e3f1
Optimize AIKernerl index page style
zhao365845726 Mar 1, 2026
d923ec3
Optimize AIKernel index dialog style
zhao365845726 Mar 1, 2026
620db1c
Optimize AIKernel index table default page size
zhao365845726 Mar 1, 2026
5b2197e
Optimize home page layout style
zhao365845726 Mar 2, 2026
ceae70e
Optimize AIVector page layout style
zhao365845726 Mar 2, 2026
feff0f5
Optimize AIVector page dialog layout style
zhao365845726 Mar 2, 2026
3a8bf8b
Optimize AdminUserInfo page layout style
zhao365845726 Mar 2, 2026
0c43f80
Optimize AdminUserInfo page dialog layout style
zhao365845726 Mar 2, 2026
9f028e4
Optimize Role page layout style
zhao365845726 Mar 2, 2026
93dd1aa
Optimize menu page layout style
zhao365845726 Mar 2, 2026
76441f7
Optimize Menu page dialog and SystemConfig page layout style
zhao365845726 Mar 2, 2026
164bb82
Optimize SenparcTrace index page layout style
zhao365845726 Mar 2, 2026
88e7049
Optimize FileManage index page layout style
zhao365845726 Mar 3, 2026
bef49c2
Optimize FileManage index page dialog layout style
zhao365845726 Mar 3, 2026
1774f1c
Optimize FileManage index page function
zhao365845726 Mar 3, 2026
79a2303
优化页面超出的问题
zhao365845726 Apr 6, 2026
5a8cfb5
Optimize the issue of incorrect formatting after page content exceeds…
zhao365845726 Apr 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@model Senparc.Ncf.AreaBase.Admin.IAdminPageModelBase
@model Senparc.Ncf.AreaBase.Admin.IAdminPageModelBase
@{
var thisYear = DateTime.Now.Year;
}
Expand Down Expand Up @@ -31,7 +31,7 @@
<img src="~/images/Admin/base/head/logo_230x55.png" alt="Alternate Text" />
</a>
</div>
<el-scrollbar wrap-class="scrollbar-wrapper" style="height:calc(100vh - 80px);">
<el-scrollbar wrap-class="scrollbar-wrapper" class="aside-scrollbar">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS class aside-scrollbar referenced but never defined

Low Severity

The old inline style="height:calc(100vh - 80px);" on the el-scrollbar element was replaced with class="aside-scrollbar", but no CSS rule for .aside-scrollbar exists anywhere in the codebase. The element still works because it's styled via the structural selector .app-wrapper .el-container .el-aside .el-scrollbar in layout.css, but the class name is dead code that could mislead future developers into thinking it carries styling.

Fix in Cursor Fix in Web

<el-menu :default-active="Store.state.navMenu.activeMenu"
:collapse="Store.state.navMenu.isCollapse"
:background-color="Store.state.navMenu.variables.menuBg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,21 @@
</div>
</div>
<!-- /menu footer buttons -->
<style>
/* 菜单与右侧工作区底部齐平、满屏不抖动、超出显示纵向滚动条 */
body.nav-md .main_container {
min-height: 100vh;
}
body.nav-md .main_container .col-md-3.left_col {
min-height: 100vh;
display: flex;
flex-direction: column;
}
body.nav-md .main_container .col-md-3.left_col > .left_col.scroll-view {
flex: 1;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
</style>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


[v-cloak] {
display: none;
}
Expand All @@ -17,8 +17,10 @@ a {
text-decoration: none;
}

body {
html, body {
height: 100%;
margin: 0;
overflow: hidden;
}

img {
Expand All @@ -33,12 +35,54 @@ li {

#app {
height: 100%;
overflow: hidden;
}

.app-wrapper {
position: relative;
height: 100%;
width: 100%;
overflow: hidden;
}

/* 最外层不出现横向/纵向滚动条,仅主内容区内部滚动 */
.app-wrapper .el-container {
overflow: hidden;
display: flex;
}

.app-wrapper .el-container .el-aside {
flex-shrink: 0;
height: 100vh;
overflow: hidden;
display: flex;
flex-direction: column;
}

.app-wrapper .el-container .el-aside .el-scrollbar {
flex: 1;
min-height: 0;
}

.app-wrapper .el-container .el-aside .el-scrollbar .scrollbar-wrapper {
height: 100% !important;
}

.app-wrapper .el-container > .el-container {
flex: 1;
min-width: 0;
min-height: 0;
overflow: hidden;
display: flex;
flex-direction: column;
}

.app-wrapper .el-header {
flex-shrink: 0;
}

.app-wrapper .el-footer {
flex-shrink: 0;
}

.footer {
Expand All @@ -51,10 +95,18 @@ li {
color: #23527c;
}

.el-main
{
background-color: #e3e3e3;
height: 730px;
.app-wrapper .el-main {
flex: 1;
min-height: 0;
overflow-y: auto;
overflow-x: hidden;
background-color: rgba(0,21,41,0.08);
-webkit-overflow-scrolling: touch;
}

.app-wrapper .el-main .ifram-wrapper {
min-height: 100%;
box-sizing: border-box;
}

/*侧边栏*/
Expand Down
Loading