Skip to content

Commit

Permalink
Add more app like css
Browse files Browse the repository at this point in the history
  • Loading branch information
patdx committed Jan 13, 2025
1 parent 98aae6b commit 92b2482
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "22"
}
},
"name": "Node.js",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bullseye"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "yarn install",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
7 changes: 7 additions & 0 deletions app/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ body,
touch-action: pan-x pan-y;
}

/* https://x.com/morajabi/status/1846583265072660939 */
* {
user-select: none;
user-drag: none;
app-region: no-drag;
}

/* https://forums.developer.apple.com/forums/thread/133399 */
html {
-webkit-touch-callout: none; /* Safari Touch */
Expand Down

0 comments on commit 92b2482

Please sign in to comment.