Alignment as Layout Feature
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user