diff --git a/Bootstrap.Admin/Views/Shared/Header.cshtml b/Bootstrap.Admin/Views/Shared/Header.cshtml index 61809d06..8db46c0c 100644 --- a/Bootstrap.Admin/Views/Shared/Header.cshtml +++ b/Bootstrap.Admin/Views/Shared/Header.cshtml @@ -96,11 +96,8 @@
-
- @Model.DisplayName - -
-
登录名:@Model.UserName
+
@Model.DisplayName
+
登录名:@Model.UserName
diff --git a/Bootstrap.Admin/wwwroot/css/lte.css b/Bootstrap.Admin/wwwroot/css/lte.css index 789ab5c9..d4647ff0 100644 --- a/Bootstrap.Admin/wwwroot/css/lte.css +++ b/Bootstrap.Admin/wwwroot/css/lte.css @@ -49,7 +49,7 @@ } .userinfo .dropdown-item { - border-bottom: solid 1px #e9ecef; + border-bottom: solid 1px rgba(255, 255, 255, 0.4); padding: 0.25rem 1.5rem; } @@ -57,6 +57,10 @@ display: flex; } + .userinfo .dropdown-item:first-child .font-weight-bold { + font-size: 1rem; + } + .userinfo .dropdown-item img { width: 60px; height: auto; @@ -86,6 +90,7 @@ .userinfo.show .dropdown-menu { margin-top: 8px; + left: auto !important; } aside {