未验证 提交 bc362337 编写于 作者: R REJack

fixed sidebar margin-top if .fixed not set

上级 5daf8673
...@@ -50,8 +50,10 @@ body, ...@@ -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, ...@@ -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, ...@@ -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, ...@@ -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, ...@@ -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, ...@@ -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, ...@@ -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, ...@@ -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 {
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册