Add flex-x-center helper, actually is useful if stuff wraps
This commit is contained in:
parent
9017c838cd
commit
d2eca8865d
1 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,11 @@
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-x-center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flex-y-end {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
|
|
@ -58,6 +63,7 @@
|
|||
&flex-col { .flex-col; }
|
||||
&flex-center { .flex-center; }
|
||||
&flex-y-center { .flex-y-center; }
|
||||
&flex-x-center { .flex-x-center; }
|
||||
&flex-y-end { .flex-y-end; }
|
||||
&flex-y-baseline { .flex-y-baseline; }
|
||||
&flex-right { .flex-right; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue