mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-14 04:14:21 +01:00
fix(theme): layout collapse bug and margins between rows
This commit is contained in:
parent
da859ba0bb
commit
320d4b4e0a
2 changed files with 18 additions and 2 deletions
|
|
@ -10,14 +10,30 @@
|
|||
|
||||
transition: width 0.3s ease;
|
||||
width: $sidebar-width;
|
||||
overflow: hidden;
|
||||
|
||||
&.collapsed {
|
||||
width: 0;
|
||||
|
||||
/deep/ .main-container {
|
||||
width: 0;
|
||||
|
||||
.scrollable {
|
||||
width: $sidebar-width;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .main-container {
|
||||
width: $sidebar-width;
|
||||
background: nb-theme(color-bg);
|
||||
transition: width 0.3s ease;
|
||||
overflow: hidden;
|
||||
|
||||
.scrollable {
|
||||
width: $sidebar-width;
|
||||
}
|
||||
|
||||
@include nb-for-theme(cosmic) {
|
||||
background: nb-theme(layout-bg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue