windows stop flush with the taskbar's top edge instead of tucking 6px under it
This commit is contained in:
parent
415f48f3f0
commit
8ae719093f
2 changed files with 9 additions and 2 deletions
|
|
@ -227,7 +227,10 @@ list reordering, not free placement. Don't confuse the two.
|
|||
`moveWin` clamps `x`/`y` (dragging can't push a window off any edge or under
|
||||
the panel), a `resize` effect re-clamps on browser resize, and
|
||||
`.win-window.centered` carries `max-width`/`max-height`. Keep these in sync if
|
||||
you add a new window path, or windows will escape the viewport.
|
||||
you add a new window path, or windows will escape the viewport. The bottom
|
||||
limit is `TASKBAR_HEIGHT = 54` in `WindowsDesktop.tsx` (panel `bottom:10px` +
|
||||
`height:44px`), so a window lands flush with the panel's top edge; note
|
||||
`useDesktopIcons.ts` has its **own** `TASKBAR_HEIGHT = 48` for the icon grid.
|
||||
- Exposing the **dev** server over a tunnel needs the tunnel host in
|
||||
`allowedDevOrigins` (`next.config.ts`). Without it Next dev rejects the
|
||||
cross-origin HMR WebSocket, so the client never hydrates — the page is SSR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue