From e9eae9297560aa5ae32e484aad9e45d1c4ff1156 Mon Sep 17 00:00:00 2001 From: ZProger Date: Sun, 16 Aug 2026 22:00:56 +0300 Subject: [PATCH] fix: long unbroken transaction description broke Dashboard layout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Card had no min-width: 0, so as a direct CSS Grid child on the Dashboard it would grow to fit nowrap (truncate) text instead of letting the ellipsis kick in — classic grid blowout. Reproduced with Playwright (scrollWidth 2143px vs 1440px viewport before the fix, matches after). Fixing it on the shared Card primitive protects every grid/flex layout that uses it, not just Dashboard. --- frontend/package.json | 2 +- frontend/src/components/ui/Card.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 9d9d78e..f048f38 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,7 +1,7 @@ { "name": "aurum-frontend", "private": true, - "version": "0.15.3", + "version": "0.15.4", "type": "module", "scripts": { "dev": "vite", diff --git a/frontend/src/components/ui/Card.tsx b/frontend/src/components/ui/Card.tsx index 45ec231..c40772c 100644 --- a/frontend/src/components/ui/Card.tsx +++ b/frontend/src/components/ui/Card.tsx @@ -4,7 +4,7 @@ import { cn } from "@/lib/utils"; export function Card({ className, ...props }: HTMLAttributes) { return (
);