chore: put list into a separate file

This commit is contained in:
Kazhnuz 2021-07-30 11:58:34 +02:00
parent 70b5779844
commit 48447e1390
3 changed files with 14 additions and 6 deletions

View file

@ -6,3 +6,4 @@
@import 'mixins/borders'; @import 'mixins/borders';
@import 'mixins/shape'; @import 'mixins/shape';
@import 'mixins/panels'; @import 'mixins/panels';
@import 'mixins/li';

View file

@ -13,9 +13,3 @@
@mixin border-radius($border-radius) { @mixin border-radius($border-radius) {
border-radius: $border-radius $border-radius $border-radius $border-radius; border-radius: $border-radius $border-radius $border-radius $border-radius;
} }
@mixin li-no-margin() {
li {
margin: 0;
}
}

13
src/scss/mixins/_li.scss Normal file
View file

@ -0,0 +1,13 @@
@mixin li-no-margin() {
li {
margin: 0;
}
}
@mixin li-flex() {
display:flex;
flex-direction: row;
align-items: flex-start;
@include li-no-margin();
list-style: none;
}