mselect on $mq-not-small looks like a dialog
This commit is contained in:
parent
a90f57ffdb
commit
cd9e8e2e8b
|
@ -53,6 +53,11 @@ $c-mselect: $c-primary;
|
|||
}
|
||||
.mselect__toggle:checked ~ & {
|
||||
transform: scale(1, 1);
|
||||
@include breakpoint($mq-not-small) {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
transform: translateY(-50%) scale(1, 1);
|
||||
}
|
||||
> * {
|
||||
opacity: 1;
|
||||
transition: opacity 125ms ease-in-out 125ms;
|
||||
|
|
Loading…
Reference in a new issue