toggle: fix labels vertical centering (take the upper semi-transparent border in consideration)
This commit is contained in:
parent
0b77e808d0
commit
a0dad2bcbb
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
.push-container {
|
||||
@extend .toggle-container;
|
||||
> .label {
|
||||
top:0;
|
||||
}
|
||||
.active {
|
||||
background: var(--color-fg);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
> .label {
|
||||
position: absolute;
|
||||
top:1rem;
|
||||
top:2rem;
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue