From bebc4b27435abb0ecaae95f2e1e07574cd5df9ef Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sat, 17 Jan 2026 01:01:53 -0700 Subject: [PATCH] Responsive updates --- src/layouts/Layout.astro | 4 ++-- src/pages/dashboard/invoices/[id].astro | 6 +++-- src/pages/dashboard/invoices/index.astro | 4 +++- src/pages/dashboard/tracker.astro | 28 ++++++++++++++---------- src/pages/index.astro | 2 +- src/pages/login.astro | 2 +- src/pages/signup.astro | 2 +- 7 files changed, 28 insertions(+), 20 deletions(-) diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ee1bcf7..fea292e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -21,8 +21,8 @@ const { title } = Astro.props; {title} - -
+ +
diff --git a/src/pages/dashboard/invoices/[id].astro b/src/pages/dashboard/invoices/[id].astro index da11a65..637c841 100644 --- a/src/pages/dashboard/invoices/[id].astro +++ b/src/pages/dashboard/invoices/[id].astro @@ -205,7 +205,8 @@ const isDraft = invoice.status === 'draft';
- +
+
@@ -242,7 +243,8 @@ const isDraft = invoice.status === 'draft'; )} -
Description
+ +
diff --git a/src/pages/dashboard/invoices/index.astro b/src/pages/dashboard/invoices/index.astro index b549b1c..078fe2c 100644 --- a/src/pages/dashboard/invoices/index.astro +++ b/src/pages/dashboard/invoices/index.astro @@ -109,7 +109,8 @@ const getStatusColor = (status: string) => {
- +
+
@@ -210,6 +211,7 @@ const getStatusColor = (status: string) => { )}
Number
+
diff --git a/src/pages/dashboard/tracker.astro b/src/pages/dashboard/tracker.astro index 2dfe457..d696807 100644 --- a/src/pages/dashboard/tracker.astro +++ b/src/pages/dashboard/tracker.astro @@ -164,14 +164,16 @@ const paginationPages = getPaginationPages(page, totalPages);
{allClients.length === 0 ? ( -
- You need to create a client before tracking time. - Add Client +
+ + You need to create a client before tracking time. + Add Client
) : allCategories.length === 0 ? ( -
- You need to create a category before tracking time. - Team Settings +
+ + You need to create a category before tracking time. + Team Settings
) : (
{allClients.length === 0 ? ( -
- You need to create a client before adding time entries. - Add Client +
+ + You need to create a client before adding time entries. + Add Client
) : allCategories.length === 0 ? ( -
- You need to create a category before adding time entries. - Team Settings +
+ + You need to create a category before adding time entries. + Team Settings
) : ( -
+
Chronus Logo diff --git a/src/pages/login.astro b/src/pages/login.astro index f671c7f..1ff7330 100644 --- a/src/pages/login.astro +++ b/src/pages/login.astro @@ -7,7 +7,7 @@ if (Astro.locals.user) { --- -
+
Chronus diff --git a/src/pages/signup.astro b/src/pages/signup.astro index e2ada78..b122b41 100644 --- a/src/pages/signup.astro +++ b/src/pages/signup.astro @@ -23,7 +23,7 @@ if (!isFirstUser) { --- -
+
Chronus