windows stop 10px above the taskbar instead of overlapping it
This commit is contained in:
parent
626a657a67
commit
19838832d7
2 changed files with 9 additions and 9 deletions
|
|
@ -228,10 +228,10 @@ list reordering, not free placement. Don't confuse the two.
|
|||
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. The bottom
|
||||
limit is `TASKBAR_HEIGHT = 44` in `WindowsDesktop.tsx` (panel `bottom:10px` +
|
||||
`height:44px`; 44 lets a window tuck 10px behind the panel's top edge, which
|
||||
looked better than stopping dead flush); note `useDesktopIcons.ts` has its
|
||||
**own** `TASKBAR_HEIGHT = 48` for the icon grid.
|
||||
limit is `TASKBAR_HEIGHT = 64` in `WindowsDesktop.tsx` (panel `bottom:10px` +
|
||||
`height:44px` = 54, plus a 10px gap), so a dragged window stops just above the
|
||||
taskbar; 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