diff --git a/src/components/task-bar/HomeMenu.module.css b/src/components/task-bar/HomeMenu.module.css index 38e4bb4..bc427e7 100644 --- a/src/components/task-bar/HomeMenu.module.css +++ b/src/components/task-bar/HomeMenu.module.css @@ -3,7 +3,6 @@ left: 0; bottom: 100%; height: auto !important; - z-index: -1; overflow: hidden; } diff --git a/src/components/windows/Window.jsx b/src/components/windows/Window.jsx index 73e29f7..66da0e5 100644 --- a/src/components/windows/Window.jsx +++ b/src/components/windows/Window.jsx @@ -73,8 +73,8 @@ export function Window({ id, app, size, position, focused = false, onInteract, o className={classNames.join(" ")} ref={nodeRef} style={{ - width: maximized ? screenWidth : size.x, - height: maximized ? screenHeight : size.y, + width: maximized ? null : size.x, + height: maximized ? null : size.y, }} onClick={onInteract} > diff --git a/src/components/windows/Window.module.css b/src/components/windows/Window.module.css index 7b5b68a..8b2635a 100644 --- a/src/components/windows/Window.module.css +++ b/src/components/windows/Window.module.css @@ -31,7 +31,11 @@ } .Window-container.Maximized { + width: 100%; + height: calc(100% - var(--task-bar-height)); + border-radius: 0; transform: none !important; + resize: none; } .Header {