mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Fixed issue with user menu on small screens
This commit is contained in:
@@ -237,6 +237,11 @@
|
||||
.clearfix();
|
||||
.btn-default {
|
||||
color: #666666;
|
||||
&:hover {
|
||||
@media (max-width: @screen-sm-max) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -316,15 +321,15 @@
|
||||
|
||||
/* Fix dropdown menu in navbars */
|
||||
.navbar-custom-menu > .navbar-nav {
|
||||
> li {
|
||||
position: relative;
|
||||
> .dropdown-menu {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
> li {
|
||||
position: relative;
|
||||
> .dropdown-menu {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (max-width: @screen-sm-max) {
|
||||
.navbar-custom-menu > .navbar-nav {
|
||||
float: right;
|
||||
|
||||
Vendored
+5
@@ -1123,6 +1123,11 @@ a:focus {
|
||||
.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default {
|
||||
color: #666666;
|
||||
}
|
||||
@media (max-width: 991px) {
|
||||
.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default:hover {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
}
|
||||
.navbar-nav > .user-menu .user-image {
|
||||
float: left;
|
||||
width: 25px;
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user