From e05092e93ae10fc753386a05ee0505609f5ba47a Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 11 Nov 2024 10:05:02 +0700 Subject: [PATCH 1/4] Fix dashboard disposition --- src/routes/dashboard/index.css | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/routes/dashboard/index.css b/src/routes/dashboard/index.css index b32c73b..ddac5ec 100644 --- a/src/routes/dashboard/index.css +++ b/src/routes/dashboard/index.css @@ -11,13 +11,13 @@ } } - @media (min-width: 2000px) { - &:nth-child(n + 1) { - flex: 1 1 34%; + @media (min-width: 1600px) { + & { + flex: 1 1 23%; } - &:first-child { - flex: 1 1 20%; + &.welcome-card { + flex: 1 1 30%; } &.card--main--files { @@ -78,13 +78,9 @@ } } - @media (min-width: 2000px) { - .column:nth-child(2) { - flex: 1 1 15%; - } - + @media (min-width: 1600px) { .column { - flex: 1 1 25%; + flex: 1 0 5%; } } From 46d6d5ba885e990e7ac411ad4dec7ad54da28c55 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 11 Nov 2024 10:06:12 +0700 Subject: [PATCH 2/4] Fix dashboard links --- src/routes/dashboard/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/dashboard/index.tsx b/src/routes/dashboard/index.tsx index d5c633c..7d3c8d7 100644 --- a/src/routes/dashboard/index.tsx +++ b/src/routes/dashboard/index.tsx @@ -47,8 +47,7 @@ function Dashboard() { className="card--main" title="Connected Account" buttonLabel="Add Wallet" - buttonIcon={() => } - buttonAction={() => naviguate({ to: "/dashboard/availabilities" })}> + buttonIcon={() => }> @@ -57,13 +56,14 @@ function Dashboard() { icon={} title="Storage" buttonLabel="Details" - buttonAction={() => naviguate({ to: "/dashboard/peers" })}> + buttonAction={() => naviguate({ to: "/dashboard/availabilities" })}> } title="Peers" - buttonLabel="Details"> + buttonLabel="Details" + buttonAction={() => naviguate({ to: "/dashboard/peers" })}> From c6f26e4f1e23b8bd69fe15ce5766e3e474a79b54 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 11 Nov 2024 10:06:19 +0700 Subject: [PATCH 3/4] Fix icon size --- src/components/Files/Files.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Files/Files.tsx b/src/components/Files/Files.tsx index fe25afd..9f5e275 100644 --- a/src/components/Files/Files.tsx +++ b/src/components/Files/Files.tsx @@ -204,7 +204,7 @@ export function Files({ limit }: Props) {