text: fix vertical centering (remove vertical padding)

This commit is contained in:
jean-emmanuel 2018-03-11 13:23:42 +01:00
parent 00e0b7870f
commit cbbb6b7ab9
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- bug fixes
- strip: nested strips were inheriting their parent's `spacing`
- modal: prevent error when retrieving a child's property
- text: vertical centering issues in narrow widgets
## 0.26.3

View file

@ -65,7 +65,7 @@
.text {
flex: 1 1 100%;
height:35rem;
padding: 10rem;
padding: 0 10rem;
justify-content: center;
display: flex;
align-items: center;
@ -90,6 +90,7 @@
text-overflow: ellipsis;
-webkit-writing-mode:vertical-rl;
writing-mode:vertical-rl;
padding: 10rem 0;
&:after {
transform: rotate(-180deg);
}