Skip to content

Commit 881865d

Browse files
authored
Merge pull request #259 from techulus/ui/dashboard-card-height
Reduce dashboard project and server card height
2 parents 607055a + 111f931 commit 881865d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎web/components/core/summary-card.tsx‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ import { cn } from "@/lib/utils";
55
export const SUMMARY_CARD_MIN_HEIGHT = 148;
66

77
// Dashboard lists lay cards out two per row on mobile, so below `sm` they shed
8-
// height, padding and a step of font size. The `sm` min-height must stay in
9-
// sync with SUMMARY_CARD_MIN_HEIGHT.
8+
// padding and a step of font size.
109
export const SUMMARY_CARD_GRID_CLASSNAME =
1110
"grid grid-cols-2 gap-2.5 sm:gap-4 lg:grid-cols-3";
1211
export const SUMMARY_CARD_COMPACT_CLASSNAME =
13-
"min-h-[96px] px-3 py-2.5 sm:min-h-[148px] sm:px-3.5 sm:py-3";
12+
"px-3 py-2.5 sm:px-3.5 sm:py-3 lg:min-h-[120px]";
1413
export const SUMMARY_CARD_COMPACT_TITLE_CLASSNAME =
1514
"text-[13px] sm:text-[15px]";
1615
export const SUMMARY_CARD_COMPACT_TEXT_CLASSNAME = "text-[11px] sm:text-xs";

0 commit comments

Comments
 (0)