From 5b19b8a4795dd6b35ede3186dd8825f2e158222b Mon Sep 17 00:00:00 2001 From: Vlad Gerasimov Date: Sat, 2 Aug 2025 10:31:32 +0400 Subject: [PATCH 1/2] style: window height, logo width, group title size --- src-tauri/tauri.conf.json | 6 ++++-- src/App.tsx | 12 ++++++------ src/components/ui/SettingsGroup.tsx | 2 +- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 988dae3..0fd843b 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -30,7 +30,9 @@ "active": true, "createUpdaterArtifacts": true, "targets": "all", - "resources": ["resources/**/*"], + "resources": [ + "resources/**/*" + ], "license": "MIT", "icon": [ "icons/32x32.png", @@ -65,4 +67,4 @@ ] } } -} +} \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 99a670d..e3c80e6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,11 +1,11 @@ +import { invoke } from "@tauri-apps/api/core"; +import { useEffect, useState } from "react"; import "./App.css"; -import { Settings } from "./components/settings/Settings"; -import HandyTextLogo from "./components/icons/HandyTextLogo"; import AccessibilityPermissions from "./components/AccessibilityPermissions"; import Footer from "./components/footer"; +import HandyTextLogo from "./components/icons/HandyTextLogo"; import Onboarding from "./components/onboarding"; -import { useState, useEffect } from "react"; -import { invoke } from "@tauri-apps/api/core"; +import { Settings } from "./components/settings/Settings"; function App() { const [showOnboarding, setShowOnboarding] = useState(null); @@ -34,7 +34,7 @@ function App() { return (
- +
@@ -44,7 +44,7 @@ function App() { return (
- +
diff --git a/src/components/ui/SettingsGroup.tsx b/src/components/ui/SettingsGroup.tsx index f9266e7..4e588f9 100644 --- a/src/components/ui/SettingsGroup.tsx +++ b/src/components/ui/SettingsGroup.tsx @@ -15,7 +15,7 @@ export const SettingsGroup: React.FC = ({
{title && (
-

+

{title}

{description && ( From ee5ab6e2108029569bab40be50d7a6de68d6a546 Mon Sep 17 00:00:00 2001 From: CJ Pais Date: Sat, 2 Aug 2025 10:28:17 -0700 Subject: [PATCH 2/2] tweak default height to 700 --- src-tauri/tauri.conf.json | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 0fd843b..ceede8f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -15,9 +15,9 @@ { "title": "Handy", "width": 540, - "height": 720, + "height": 700, "minWidth": 540, - "minHeight": 720, + "minHeight": 700, "resizable": true, "maximizable": false } @@ -30,9 +30,7 @@ "active": true, "createUpdaterArtifacts": true, "targets": "all", - "resources": [ - "resources/**/*" - ], + "resources": ["resources/**/*"], "license": "MIT", "icon": [ "icons/32x32.png", @@ -67,4 +65,4 @@ ] } } -} \ No newline at end of file +}