switch: remove padding and fix icon centering

This commit is contained in:
jean-emmanuel 2017-01-02 19:12:34 +01:00
parent 177af78c4b
commit 2993250613

View file

@ -14,7 +14,6 @@
&.horizontal {
flex-direction:row;
.value {
padding:6rem;
text-align: center;
display: flex;
justify-content: center;
@ -37,7 +36,6 @@
position: relative;
border-top: 1rem solid var(--color-bg);
white-space: normal;
padding:12rem;
text-align: center;
word-break: break-all;
overflow: hidden;
@ -69,6 +67,9 @@
box-shadow: 0 0 1rem 0 var(--color-custom) inset;
}
i {
width: auto;
}
}
}