Simplify quote alignment and position of toggle

This commit is contained in:
Fedor Indutny 2022-06-14 12:54:10 -07:00 committed by GitHub
parent 71d6a1d383
commit 37cdc6e62d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 4 deletions

View File

@ -29,6 +29,7 @@
}
&--column {
flex-direction: column;
align-items: stretch;
}
}
@ -73,11 +74,16 @@
}
$comp-area: &;
&__toggle-large {
width: 48px;
height: 24px;
$width: 48px;
$height: 24px;
width: $width;
height: $height;
position: absolute;
left: calc(50% - 24px);
top: -19px;
left: calc(50% - $width / 2);
// 6px coming from padding-top, 1px from outline
top: calc(0px - $height / 2 - 6px - 1px);
border-radius: 12px 12px 0 0;
pointer-events: none;