From 543616e4b0902f70659d8a1c04de8d2a8a60e334 Mon Sep 17 00:00:00 2001 From: Thomas Flummer Date: Wed, 4 Mar 2020 22:17:15 +0100 Subject: [PATCH] Fixed top menu that wrapped around on narrow view Fixes issue #475 Also shows link to Orders, Tickets and Creditnotes if relevant in the account menu In addition to the wrapping, the margin of the dropdown menus have also been adjusted a tad --- src/static_src/css/bornhack.css | 10 +++++++--- src/templates/base.html | 26 ++++++++++++++++++++------ 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/src/static_src/css/bornhack.css b/src/static_src/css/bornhack.css index e64e764f..34413105 100644 --- a/src/static_src/css/bornhack.css +++ b/src/static_src/css/bornhack.css @@ -62,8 +62,8 @@ a, a:active, a:focus { margin-top: 6px; } -#top-navbar > .nav li a { - padding: 30px 7px; +#top-navbar > .nav > li > a { + padding: 30px 7px; } .nav .dropdown-menu { @@ -98,7 +98,11 @@ a, a:active, a:focus { border-top: 1px solid #ccc; } .navbar .nav li a { - padding: 15px; + padding: 20px !important; + } + + .btn-group-vertical > .btn{ + padding: 20px; } } diff --git a/src/templates/base.html b/src/templates/base.html index c7b6a9d6..1f437b1d 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -78,16 +78,30 @@
  • Wishlist
  • {% if request.user.is_staff %} -
  • Django Admin
  • +
  • Admin
  • {% endif %}