Browse Source

Made nav bar more responsive for mobile

master
Teknikode 9 months ago
parent
commit
340c7fca8b
2 changed files with 6 additions and 4 deletions
  1. 1
    1
      Teknik/Areas/User/Views/User/_LoginPartial.cshtml
  2. 5
    3
      Teknik/Content/common.css

+ 1
- 1
Teknik/Areas/User/Views/User/_LoginPartial.cshtml View File

@@ -1,6 +1,6 @@
@if (Config.UserConfig.RegistrationEnabled || Config.UserConfig.LoginEnabled)
{
<div class="nav navbar-nav pull-right">
<div class="nav navbar-nav navbar-right">
@if (User.Identity.IsAuthenticated)
{
<li class="dropdown">

+ 5
- 3
Teknik/Content/common.css View File

@@ -43,9 +43,11 @@ body { padding-top: 70px; }
vertical-align: middle;
}

.dropdown:hover .dropdown-menu {
display: block;
}
@media (min-width: 768px) {
.dropdown:hover .dropdown-menu {
display: block;
}
}

.dropdown-left-manual {
right: 0;

Loading…
Cancel
Save