text: add vertical alignment choices to align

This commit is contained in:
bordun 2021-04-24 10:25:50 +02:00
parent cbcbfab3d1
commit 39a156c898
4 changed files with 14 additions and 5 deletions

View file

@ -65,7 +65,7 @@
overflow: hidden;
text-align: center;
word-wrap: break-word;
padding: 0 var(--text-padding);
padding: var(--text-padding);
&.right {
text-align: right;
@ -75,6 +75,12 @@
text-align: left;
justify-content: flex-start;
}
&.top {
align-items: flex-start;
}
&.bottom {
align-items: flex-end;
}
&.wrap {
white-space: pre-wrap;
word-break: break-all;