button: add wrap and vertical properties
This commit is contained in:
parent
7ec2f2744c
commit
5b2ddc7215
4 changed files with 28 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue