Improved fullscreen window mode
This commit is contained in:
parent
76a5238fb6
commit
fe8ec7b4e0
3 changed files with 6 additions and 3 deletions
|
|
@ -3,7 +3,6 @@
|
|||
left: 0;
|
||||
bottom: 100%;
|
||||
height: auto !important;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue