From a64000498b848acc60d3ffb426b91e4c38c21138 Mon Sep 17 00:00:00 2001 From: jcf-junior Date: Sun, 22 Mar 2026 23:59:51 +0000 Subject: [PATCH 1/2] refactor: update Toolbar layout and button styles for improved usability --- src/components/Toolbar.tsx | 47 +++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/src/components/Toolbar.tsx b/src/components/Toolbar.tsx index 3cf83db..73e9592 100644 --- a/src/components/Toolbar.tsx +++ b/src/components/Toolbar.tsx @@ -16,26 +16,28 @@ export default function Toolbar({ resetCv, }: Props) { return ( -
-
+
+
{ if (e.key == "Enter") { const val = parseInt(e.currentTarget.value); if (!isNaN(val)) { - const clamped = Math.min(MAX_ZOOM * 100, Math.max(MIN_ZOOM * 100, val)); + const clamped = Math.min( + MAX_ZOOM * 100, + Math.max(MIN_ZOOM * 100, val), + ); setScaleFactor(clamped / 100); } } @@ -43,28 +45,27 @@ export default function Toolbar({ /> + +
- -
); From 638d76a25ae7257e8552e4f52a22e1cbd9217e3c Mon Sep 17 00:00:00 2001 From: jcf-junior Date: Mon, 23 Mar 2026 00:38:41 +0000 Subject: [PATCH 2/2] fix: adjust Toolbar layout for improved spacing and consistency --- src/components/Toolbar.tsx | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/src/components/Toolbar.tsx b/src/components/Toolbar.tsx index 73e9592..d3b3d7c 100644 --- a/src/components/Toolbar.tsx +++ b/src/components/Toolbar.tsx @@ -17,7 +17,7 @@ export default function Toolbar({ }: Props) { return (
-
+
- -
+ + + +