From 202ea61d33a047b719b55a2f267c9409bb46724b Mon Sep 17 00:00:00 2001 From: O3H Date: Mon, 7 Oct 2024 00:10:24 +0100 Subject: [PATCH] desc - Invisible topbar to allow dragging. - Size down the sidebar icon and slightly reduce width. - Restricted app width slightly but reduce min height. - Remove useless ButtonGroup that wrapped the control buttons. --- frontend/src/App.vue | 14 +++++- .../src/components/general/ControlButtons.vue | 19 +++---- frontend/src/components/general/Sidebar.vue | 49 +++++-------------- frontend/src/views/Dashboard.vue | 2 +- frontend/src/views/GameSelection.vue | 5 +- frontend/src/views/ModDevTools.vue | 2 +- frontend/src/views/SelectedGame.vue | 2 +- main.go | 4 +- 8 files changed, 39 insertions(+), 58 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 7084480..822408f 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -28,8 +28,10 @@ onMounted(async () => { \ No newline at end of file diff --git a/frontend/src/views/SelectedGame.vue b/frontend/src/views/SelectedGame.vue index ba5ba96..88ed84d 100644 --- a/frontend/src/views/SelectedGame.vue +++ b/frontend/src/views/SelectedGame.vue @@ -367,7 +367,7 @@ const installMod = async (fullName: string) => { .selected-game { display: flex; flex-direction: column; - margin-left: 80px; /* Account for sidebar */ + margin-left: 75px; /* Account for sidebar */ margin-top: 30px; } diff --git a/main.go b/main.go index 22a5b72..5b2f109 100644 --- a/main.go +++ b/main.go @@ -79,8 +79,8 @@ func main() { Title: "modm8", Width: int(modm8.Persistence.Window.Width), Height: int(modm8.Persistence.Window.Height), - MinWidth: 800, - MinHeight: 600, + MinWidth: 850, + MinHeight: 500, AssetServer: &assetserver.Options{ Assets: assets, },