Merge pull request 'fix(machine): keep the mouse pointer visible on the web demo' (#96) from fix/demo-cursor-visible into dev
Reviewed-on: #96
This commit is contained in:
commit
54244a4708
1 changed files with 7 additions and 2 deletions
|
|
@ -33,12 +33,17 @@
|
|||
padding: 0;
|
||||
background: #000;
|
||||
}
|
||||
/* Kiosk-only: lock overflow and hide cursor */
|
||||
/* Kiosk-only: lock overflow. The cursor is NOT hidden here — that is
|
||||
src/style.css's `.kiosk` rule, which main.ts applies at runtime unless
|
||||
VITE_DEMO_TAG is set. This block can't make that distinction (static
|
||||
HTML, and the CSP forbids an inline script to read the env), so a
|
||||
`cursor: none` here would also blank the pointer on the public web
|
||||
demo, where people drive the kiosk with a mouse. One owner for cursor
|
||||
hiding, and it is the one that knows whether this is a real machine. */
|
||||
@media (min-width: 1024px) {
|
||||
html,
|
||||
body {
|
||||
overflow: hidden;
|
||||
cursor: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue