toggle: fix labels vertical centering (take the upper semi-transparent border in consideration)

This commit is contained in:
jean-emmanuel 2016-12-06 12:39:08 +01:00
parent 0b77e808d0
commit a0dad2bcbb
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
.push-container {
@extend .toggle-container;
> .label {
top:0;
}
.active {
background: var(--color-fg);
}

View file

@ -7,7 +7,7 @@
> .label {
position: absolute;
top:1rem;
top:2rem;
left:0;
right:0;
bottom:0;