mirror of https://github.com/ColorlibHQ/AdminLTE
fixed sidebar margin-top if .fixed not set
parent
5daf8673cc
commit
bc362337a1
|
@ -50,8 +50,10 @@ body,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
&.fixed {
|
||||||
margin-top: $main-header-height;
|
.sidebar {
|
||||||
|
margin-top: $main-header-height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-link {
|
.brand-link {
|
||||||
|
@ -122,8 +124,10 @@ body,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
&.fixed {
|
||||||
margin-top: $main-header-height;
|
.sidebar {
|
||||||
|
margin-top: $main-header-height;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.brand-link {
|
.brand-link {
|
||||||
|
|
|
@ -10178,7 +10178,7 @@ body,
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-navbar-fixed .wrapper .sidebar {
|
.layout-navbar-fixed .wrapper.fixed .sidebar {
|
||||||
margin-top: calc(3.5rem + 1px);
|
margin-top: calc(3.5rem + 1px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10291,7 +10291,7 @@ body,
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-navbar-fixed .wrapper .sidebar {
|
.layout-navbar-fixed .wrapper.fixed .sidebar {
|
||||||
margin-top: calc(3.5rem + 1px);
|
margin-top: calc(3.5rem + 1px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10403,7 +10403,7 @@ body,
|
||||||
transition: width 0.3s ease-in-out;
|
transition: width 0.3s ease-in-out;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
.layout-sm-navbar-fixed .wrapper .sidebar {
|
.layout-sm-navbar-fixed .wrapper.fixed .sidebar {
|
||||||
margin-top: calc(3.5rem + 1px);
|
margin-top: calc(3.5rem + 1px);
|
||||||
}
|
}
|
||||||
.layout-sm-navbar-fixed .wrapper .brand-link {
|
.layout-sm-navbar-fixed .wrapper .brand-link {
|
||||||
|
@ -10494,7 +10494,7 @@ body,
|
||||||
transition: width 0.3s ease-in-out;
|
transition: width 0.3s ease-in-out;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
.layout-md-navbar-fixed .wrapper .sidebar {
|
.layout-md-navbar-fixed .wrapper.fixed .sidebar {
|
||||||
margin-top: calc(3.5rem + 1px);
|
margin-top: calc(3.5rem + 1px);
|
||||||
}
|
}
|
||||||
.layout-md-navbar-fixed .wrapper .brand-link {
|
.layout-md-navbar-fixed .wrapper .brand-link {
|
||||||
|
@ -10585,7 +10585,7 @@ body,
|
||||||
transition: width 0.3s ease-in-out;
|
transition: width 0.3s ease-in-out;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
.layout-lg-navbar-fixed .wrapper .sidebar {
|
.layout-lg-navbar-fixed .wrapper.fixed .sidebar {
|
||||||
margin-top: calc(3.5rem + 1px);
|
margin-top: calc(3.5rem + 1px);
|
||||||
}
|
}
|
||||||
.layout-lg-navbar-fixed .wrapper .brand-link {
|
.layout-lg-navbar-fixed .wrapper .brand-link {
|
||||||
|
@ -10676,7 +10676,7 @@ body,
|
||||||
transition: width 0.3s ease-in-out;
|
transition: width 0.3s ease-in-out;
|
||||||
width: 250px;
|
width: 250px;
|
||||||
}
|
}
|
||||||
.layout-xl-navbar-fixed .wrapper .sidebar {
|
.layout-xl-navbar-fixed .wrapper.fixed .sidebar {
|
||||||
margin-top: calc(3.5rem + 1px);
|
margin-top: calc(3.5rem + 1px);
|
||||||
}
|
}
|
||||||
.layout-xl-navbar-fixed .wrapper .brand-link {
|
.layout-xl-navbar-fixed .wrapper .brand-link {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue