Alignment as Layout Feature

This commit is contained in:
2020-08-23 14:38:59 +02:00
parent 97164e6acc
commit 0da890ddb7
4 changed files with 93 additions and 37 deletions

View File

@@ -1,40 +1,3 @@
@mixin RV-AlignContent {
* {
text-align: unset;
display: flex;
flex-direction: row;
}
&--fixedSize {
flex: 0 0;
width: min-content;
}
&--center {
text-align: center;
* {
justify-content: center;
}
}
&--left {
text-align: left;
* {
justify-content: flex-start;
}
}
&--right {
text-align: right;
* {
justify-content: flex-end;
}
}
}
@mixin RV-Reset {
margin: 0;
padding: 0;