Allow resizing window

This commit is contained in:
2025-11-04 21:51:14 -07:00
parent 7d5a3177e4
commit ceb1a5ee47
7 changed files with 11 additions and 14 deletions

View File

@@ -15,8 +15,8 @@
"title": "Lncvrt Games Launcher", "title": "Lncvrt Games Launcher",
"width": 1000, "width": 1000,
"height": 600, "height": 600,
"resizable": false, "minWidth": 875,
"maximizable": false "minHeight": 500
} }
], ],
"security": { "security": {

View File

@@ -15,8 +15,8 @@
"title": "Lncvrt Games Launcher", "title": "Lncvrt Games Launcher",
"width": 1000, "width": 1000,
"height": 600, "height": 600,
"resizable": false, "minWidth": 875,
"maximizable": false "minHeight": 500
} }
], ],
"security": { "security": {

View File

@@ -16,8 +16,8 @@
"title": "Lncvrt Games Launcher", "title": "Lncvrt Games Launcher",
"width": 1000, "width": 1000,
"height": 600, "height": 600,
"resizable": false, "minWidth": 875,
"maximizable": false, "minHeight": 500,
"titleBarStyle": "Overlay", "titleBarStyle": "Overlay",
"hiddenTitle": true "hiddenTitle": true
} }

View File

@@ -16,8 +16,8 @@
"title": "Lncvrt Games Launcher", "title": "Lncvrt Games Launcher",
"width": 1000, "width": 1000,
"height": 632, "height": 632,
"resizable": false, "minWidth": 875,
"maximizable": false, "minHeight": 500,
"titleBarStyle": "Overlay", "titleBarStyle": "Overlay",
"hiddenTitle": true, "hiddenTitle": true,
"decorations": false, "decorations": false,

View File

@@ -111,7 +111,7 @@ body {
} }
.popup-box { .popup-box {
@apply relative w-[60vw] h-[80vh] rounded-lg bg-(--col1) border border-(--col3) flex flex-col p-6; @apply relative w-[600px] h-[480px] rounded-lg bg-(--col1) border border-(--col3) flex flex-col p-6;
} }
.popup-content { .popup-content {

View File

@@ -5,7 +5,7 @@
} }
.downloads-scroll { .downloads-scroll {
@apply h-[515px] bg-(--col1) border border-(--col3) rounded-lg overflow-y-auto w-full; @apply h-[calc(100vh-80px)] bg-(--col1) border border-(--col3) rounded-lg overflow-y-auto w-full;
} }
.downloads-entry { .downloads-entry {

View File

@@ -34,7 +34,7 @@ export default function Sidebar () {
return ( return (
<aside className='sidebar'> <aside className='sidebar'>
<div <div
className='dragarea' data-tauri-drag-region
style={{ style={{
height: '30px', height: '30px',
width: 'calc(var(--spacing) * 60)', width: 'calc(var(--spacing) * 60)',
@@ -46,9 +46,6 @@ export default function Sidebar () {
display: platform() == 'macos' ? 'block' : 'none', display: platform() == 'macos' ? 'block' : 'none',
pointerEvents: 'auto' pointerEvents: 'auto'
}} }}
onMouseDown={() => {
getCurrentWindow().startDragging()
}}
></div> ></div>
<div className='logo'> <div className='logo'>
<Image <Image