fix control-sidebar-open

pull/3950/head
REJack 2021-09-17 22:32:08 +02:00
parent ab0ebc9a88
commit d2e2987a5f
1 changed files with 9 additions and 3 deletions

View File

@ -18,7 +18,10 @@ html.control-sidebar-animate {
display: none; display: none;
right: -$control-sidebar-width; right: -$control-sidebar-width;
width: $control-sidebar-width; width: $control-sidebar-width;
@include transition(right $transition-speed $transition-fn, display $transition-speed $transition-fn); @include transition(
right $transition-speed $transition-fn,
display $transition-speed $transition-fn
);
} }
&::before { &::before {
@ -55,7 +58,7 @@ body.text-sm {
// Control sidebar open state // Control sidebar open state
.control-sidebar-open { .control-sidebar-open {
.control-sidebar { .control-sidebar {
display: block; display: block !important;
&, &,
&::before { &::before {
@ -80,7 +83,10 @@ body.text-sm {
&, &,
&::before { &::before {
right: 0; right: 0;
@include transition(right $transition-speed $transition-fn, display $transition-speed $transition-fn); @include transition(
right $transition-speed $transition-fn,
display $transition-speed $transition-fn
);
} }
} }