chore: put list into a separate file
This commit is contained in:
parent
70b5779844
commit
48447e1390
3 changed files with 14 additions and 6 deletions
|
@ -6,3 +6,4 @@
|
|||
@import 'mixins/borders';
|
||||
@import 'mixins/shape';
|
||||
@import 'mixins/panels';
|
||||
@import 'mixins/li';
|
||||
|
|
|
@ -13,9 +13,3 @@
|
|||
@mixin 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
13
src/scss/mixins/_li.scss
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue