Pārlūkot izejas kodu

Made nav bar more responsive for mobile

pull/111/head
Teknikode pirms 3 gadiem
vecāks
revīzija
340c7fca8b
  1. 2
      Teknik/Areas/User/Views/User/_LoginPartial.cshtml
  2. 8
      Teknik/Content/common.css

2
Teknik/Areas/User/Views/User/_LoginPartial.cshtml

@ -1,6 +1,6 @@ @@ -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">

8
Teknik/Content/common.css

@ -43,9 +43,11 @@ body { padding-top: 70px; } @@ -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;

Notiek ielāde…
Atcelt
Saglabāt