Skip to content

Commit fb66f83

Browse files
committed
add sidebar-visible mixin
1 parent d1c51c1 commit fb66f83

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/sass/mixins/_sidebar-layout.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,12 @@
7979
}
8080
}
8181
}
82+
}
83+
@mixin sidebar-visible($breakpoint: '') {
84+
@if $breakpoint != '' {
85+
$breakpoint: -#{$breakpoint};
86+
}
87+
&.sidebar-visible#{$breakpoint} {
88+
display: block;
89+
}
8290
}

0 commit comments

Comments
 (0)