aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--view/theme/redbasic/css/style.css6
-rw-r--r--view/theme/redbasic/js/redbasic.js2
2 files changed, 6 insertions, 2 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index a6d1d2a7e..a7ce3af38 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -1515,7 +1515,11 @@ nav .dropdown-menu {
color: $nav_icon_colour;
}
-#avatar:hover + #usermenu-caret {
+.usermenu-head {
+ float: left;
+}
+
+.usermenu-head:hover #usermenu-caret {
color: $nav_active_icon_colour;
}
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index bdd6441f8..c5f74db3f 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -32,7 +32,7 @@ $(document).ready(function() {
$('#expand-tabs-icon').toggleClass('fa-arrow-circle-down').toggleClass('fa-arrow-circle-up');
});
- $('#avatar').click(function() {
+ $('.usermenu-head').click(function() {
if($('#navbar-collapse-1').hasClass('in')){
$('#navbar-collapse-1').removeClass('in');
}