Skip to content

Commit

Permalink
put the picker on top
Browse files Browse the repository at this point in the history
and let me view this thing on mobile while devving
  • Loading branch information
hiddenist committed Nov 25, 2023
1 parent 6c2ee24 commit b7125c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ aside canvas {

@media (max-width: 800px) {
body {
flex-direction: column;
flex-direction: column-reverse;
overflow: hidden;
}
.open-picker-button {
Expand All @@ -61,7 +61,7 @@ aside canvas {
display: none;
}
aside {
padding-top: 0;
padding-bottom: 0;
}
aside canvas {
display: none;
Expand Down
4 changes: 4 additions & 0 deletions apps/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ const baseUrl = process.env.BASE_URL ?? "/"
export default defineConfig({
base: baseUrl.startsWith("/") ? baseUrl : `/${baseUrl}`,
plugins: [plainText(["**/*.glsl"], { namedExport: false })],
// bind on any IP address
server: {
host: true,
},
})

0 comments on commit b7125c6

Please sign in to comment.