Skip to content

Commit 2c5fae3

Browse files
authored
fix mobile dropdown position (#456)
1 parent 7968ec0 commit 2c5fae3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/styles/controls.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ export const controlsCss = css`
2727
}
2828
2929
/* position right-edge dropdown menus so they dont go off-screen */
30-
& > div:nth-of-type(2) > div > div {
30+
& > div:nth-of-type(1) > div > div {
3131
right: 0;
3232
}
3333
3434
@media ${media.lgAndUp} {
3535
grid-auto-columns: minmax(0, 1fr);
3636
grid-auto-flow: column;
3737
38-
& > div:nth-of-type(2) > div > div {
38+
& > div:nth-of-type(1) > div > div {
3939
right: auto;
4040
}
4141

0 commit comments

Comments
 (0)