Skip to content

Commit 88d8923

Browse files
committed
Fixed menu item overlay when opening sidebar
1 parent f3a7958 commit 88d8923

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Views/Shared/Components/SideBarMenu/Default.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
}
1414
}
1515
</ul>
16-
</nav>
16+
</nav>

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/css/style.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,17 @@ html {
2929
.famfamfam-flags {
3030
display: inline-block;
3131
}
32+
33+
.sidebar ul li p {
34+
white-space: nowrap !important;
35+
text-overflow: ellipsis;
36+
transition: opacity 0.5s ease-in-out !important;
37+
opacity: 1;
38+
}
39+
40+
.sidebar-mini .main-sidebar .sidebar,
41+
.sidebar-mini .main-sidebar .sidebar:hover {
42+
overflow-x: auto !important;
43+
width: 250px;
44+
transition: width 0.3s ease-in-out;
45+
}

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/wwwroot/view-resources/Views/Account/_Layout.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
.nav-user-menu .user-image {
88
width: 20px;
99
margin-right: 4px;
10-
margin-top: -4px; }
10+
margin-top: -4px;
11+
}

0 commit comments

Comments
 (0)