Improved fullscreen window mode

This commit is contained in:
Prozilla 2023-07-30 10:22:06 +02:00
parent 76a5238fb6
commit fe8ec7b4e0
No known key found for this signature in database
GPG key ID: 5858DFE71CAF31EE
3 changed files with 6 additions and 3 deletions

View file

@ -3,7 +3,6 @@
left: 0;
bottom: 100%;
height: auto !important;
z-index: -1;
overflow: hidden;
}

View file

@ -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}
>

View file

@ -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 {