add .main-header.dropdown-offset-legacy

This commit is contained in:
REJack 2020-11-24 08:54:03 +01:00
parent 78a6403f2b
commit 290738e916
2 changed files with 6 additions and 0 deletions

View file

@ -49,6 +49,11 @@
}
}
}
&.dropdown-legacy .dropdown-menu {
top: $nav-link-height + $navbar-padding-y;
margin-top: 0;
}
}
// Add this class to images within a nav-link

View file

@ -570,4 +570,5 @@ Top navbar example can be found in this [demo page](https://adminlte.io/themes/d
> ##### Tip!
> To get a bigger dropdown menu you can add `.dropdown-menu-lg` or `.dropdown-menu-xl` to `.dropdown-menu`.
> You can also get the legacy dropdown offset with adding `.dropdown-offset-legacy` to `.main-header`.
{: .quote-info}