From ccc1aee78706132967ff9d0986e63ca99ec2b374 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Sat, 23 Nov 2024 02:43:04 -0500 Subject: [PATCH] feat: Adjust responsive padding (#205) --- .changeset/short-rats-beam.md | 5 ++ src/components/AppContent/AppContent.tsx | 7 +++ src/components/AppContent/index.ts | 1 + src/components/AppSidebar/AppSidebar.tsx | 12 ++-- src/components/Badge/Badge.tsx | 2 +- src/components/Container/Container.tsx | 2 +- src/components/Nav/Nav.tsx | 12 ++-- src/components/PageHeader/PageHeader.tsx | 6 +- src/components/ProgressBar/ProgressBar.tsx | 20 +++++-- src/components/StatusSelect/StatusSelect.tsx | 31 +++++----- src/components/index.ts | 1 + src/routeTree.gen.ts | 56 +++++++++---------- src/routes/_authenticated/_home.tsx | 21 ++++++- .../_authenticated/_home/quests.$questId.tsx | 9 +-- src/routes/_authenticated/admin/route.tsx | 35 +++++++----- src/routes/_authenticated/browse/index.tsx | 7 ++- .../settings/{overview.tsx => account.tsx} | 8 +-- src/routes/_authenticated/settings/index.tsx | 2 +- src/routes/_authenticated/settings/route.tsx | 29 ++++++---- src/styles/index.css | 10 ++++ 20 files changed, 177 insertions(+), 99 deletions(-) create mode 100644 .changeset/short-rats-beam.md create mode 100644 src/components/AppContent/AppContent.tsx create mode 100644 src/components/AppContent/index.ts rename src/routes/_authenticated/settings/{overview.tsx => account.tsx} (96%) diff --git a/.changeset/short-rats-beam.md b/.changeset/short-rats-beam.md new file mode 100644 index 0000000..6b63ee4 --- /dev/null +++ b/.changeset/short-rats-beam.md @@ -0,0 +1,5 @@ +--- +"namesake": patch +--- + +Adjust responsive padding and margins diff --git a/src/components/AppContent/AppContent.tsx b/src/components/AppContent/AppContent.tsx new file mode 100644 index 0000000..bfb0917 --- /dev/null +++ b/src/components/AppContent/AppContent.tsx @@ -0,0 +1,7 @@ +type AppContentProps = { + children: React.ReactNode; +}; + +export const AppContent = ({ children }: AppContentProps) => { + return
{children}
; +}; diff --git a/src/components/AppContent/index.ts b/src/components/AppContent/index.ts new file mode 100644 index 0000000..a35c2e6 --- /dev/null +++ b/src/components/AppContent/index.ts @@ -0,0 +1 @@ +export * from "./AppContent"; diff --git a/src/components/AppSidebar/AppSidebar.tsx b/src/components/AppSidebar/AppSidebar.tsx index 420a9a1..4584cc7 100644 --- a/src/components/AppSidebar/AppSidebar.tsx +++ b/src/components/AppSidebar/AppSidebar.tsx @@ -24,10 +24,10 @@ export const AppSidebar = ({ children }: AppSidebarProps) => { }; return ( -
-
+
+
- + Beta @@ -47,8 +47,8 @@ export const AppSidebar = ({ children }: AppSidebarProps) => {
-
{children}
-
+
{children}
+