diff --git a/app/views/layouts/_newestheader.html.haml b/app/views/layouts/_newestheader.html.haml index e015366..ad9b25e 100644 --- a/app/views/layouts/_newestheader.html.haml +++ b/app/views/layouts/_newestheader.html.haml @@ -242,6 +242,23 @@ #sign-in-btn { display: none; } + + + /* for the dropdown */ + .navbar-nav .open .dropdown-menu.tdx { + position: static; + float: none; + width: auto; + margin-top: 0; + background-color: transparent; + border: 0; + box-shadow: none; + } + + .navbar-nav .open .dropdown-menu.tdx li a { + line-height: 20px; + padding: 5px 15px 5px 25px; + } } @@ -280,7 +297,7 @@ %a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"} = current_user.email %b.caret - %ul.dropdown-menu + %ul.dropdown-menu.tdx - if current_user.admin? %li= link_to "Admin", administrator_path %li= link_to "Profile", user_path(current_user.id)