mirror of https://github.com/ColorlibHQ/AdminLTE
add .main-header.dropdown-offset-legacy
parent
78a6403f2b
commit
290738e916
|
@ -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
|
// Add this class to images within a nav-link
|
||||||
|
|
|
@ -570,4 +570,5 @@ Top navbar example can be found in this [demo page](https://adminlte.io/themes/d
|
||||||
|
|
||||||
> ##### Tip!
|
> ##### Tip!
|
||||||
> To get a bigger dropdown menu you can add `.dropdown-menu-lg` or `.dropdown-menu-xl` to `.dropdown-menu`.
|
> 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}
|
{: .quote-info}
|
||||||
|
|
Loading…
Reference in New Issue