button: add wrap and vertical properties

This commit is contained in:
bordun 2020-09-12 17:39:20 +02:00
parent 7014d1abda
commit 4e8c6f9a17
4 changed files with 28 additions and 1 deletions

View file

@ -50,6 +50,21 @@
height: 100%;
width: 100%;
border: 2rem solid transparent;
&.wrap {
white-space: pre-wrap;
word-break: break-all;
}
&.vertical {
transform: rotate(180deg);
text-overflow: ellipsis;
-webkit-writing-mode:vertical-rl;
writing-mode:vertical-rl;
i {
transform: rotate(180deg);
writing-mode: initial;
}
}
}
&.on {