From 884d55d71d5cae1bfa8d1363e1a5cabcacad4f02 Mon Sep 17 00:00:00 2001 From: Ou Date: Mon, 21 Oct 2024 20:02:03 +0800 Subject: [PATCH] fx: keep navbar always centered --- src/components/header/index.tsx | 10 ++++++---- src/routes/__root.tsx | 14 +++++++++----- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/src/components/header/index.tsx b/src/components/header/index.tsx index d777e6c..ebd8346 100644 --- a/src/components/header/index.tsx +++ b/src/components/header/index.tsx @@ -51,7 +51,7 @@ function Refresh() { export function Header() { return ( <> - +
@@ -66,10 +66,12 @@ export function Header() { {`v${Version}`} - - + + + + - + diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index d9c8680..43cbdbe 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -47,11 +47,15 @@ function RootComponent() { "lg:(px-24)", ])} > -