Fixed formatting too

This commit is contained in:
ItzLightyHD 2022-06-26 13:12:55 +02:00
parent 8523fbcba6
commit b1f37e608b
1 changed files with 35 additions and 21 deletions

View File

@ -11,21 +11,35 @@ body::before {
}
@media all and (min-width: 992px) {
.dropdown-menu li{ position: relative; }
.nav-item .submenu{
.dropdown-menu li {
position: relative;
}
.nav-item .submenu {
display: none;
position: absolute;
left:100%; top:-7px;
left: 100%;
top: -7px;
}
.nav-item .submenu-left{
right:100%; left:auto;
.nav-item .submenu-left {
right: 100%;
left: auto;
}
.dropdown-menu>li:hover {
background-color: #f1f1f1
}
.dropdown-menu>li:hover>.submenu {
display: block;
}
.dropdown-menu > li:hover{ background-color: #f1f1f1 }
.dropdown-menu > li:hover > .submenu{ display: block; }
}
@media (max-width: 991px) {
.dropdown-menu .dropdown-menu{
margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
.dropdown-menu .dropdown-menu {
margin-left: 0.7rem;
margin-right: 0.7rem;
margin-bottom: .5rem;
}
}