fix(playground): restore play drawer and preset button fixes
Re-apply fixes from ddb6b77 that were lost in the arpeggiator restore:
- play-btn: align-self: flex-start (pin to top)
- Play drawer: trigger on .play-btn:hover instead of parent :hover
(prevents preset select from opening the drawer)
- preset-select: align-self: flex-start (pin to top)
This commit is contained in:
parent
d0bc34d8c9
commit
0246ca58ab
1 changed files with 4 additions and 1 deletions
|
|
@ -1026,6 +1026,7 @@ html, body {
|
|||
transition: background 0.15s, border-color 0.15s;
|
||||
padding: 0;
|
||||
flex-shrink: 0;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.play-btn:active {
|
||||
|
|
@ -1091,7 +1092,8 @@ html, body {
|
|||
color: var(--text-dim);
|
||||
}
|
||||
|
||||
.synth-quick-controls:hover .play-drawer,
|
||||
.play-btn:hover ~ .play-drawer,
|
||||
.play-drawer:hover,
|
||||
.play-drawer.show {
|
||||
display: flex;
|
||||
}
|
||||
|
|
@ -1120,6 +1122,7 @@ html, body {
|
|||
min-width: 0;
|
||||
max-width: 160px;
|
||||
text-overflow: ellipsis;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.preset-select:hover,
|
||||
|
|
|
|||
Loading…
Reference in a new issue