diff --git a/weblab/static/sass/style.scss b/weblab/static/sass/style.scss index 4492dde67..7bd59a257 100644 --- a/weblab/static/sass/style.scss +++ b/weblab/static/sass/style.scss @@ -135,7 +135,7 @@ button, } -#usernavbar { +.navbar-submenu { min-width: 100px; ul { @@ -146,9 +146,10 @@ button, padding: 0; /* Aligns drop-down box underneath the menu item */ background-color: #ffffff; - li, li a { + li, & a, & a:hover, & a:active { text-align: left; padding: 0; + white-space: nowrap; } } diff --git a/weblab/templates/includes/navbar.html b/weblab/templates/includes/navbar.html index cc06b3cae..55db0e105 100644 --- a/weblab/templates/includes/navbar.html +++ b/weblab/templates/includes/navbar.html @@ -4,18 +4,23 @@