From 908c4cd8f0cc56f4af13a7638fad55dd694b57e2 Mon Sep 17 00:00:00 2001 From: realZachi <109552121+realZachi@users.noreply.github.com> Date: Sun, 25 Jan 2026 13:39:50 +0100 Subject: [PATCH] fix(styles): enhance card and code block responsiveness --- ui/src/styles/components.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/src/styles/components.css b/ui/src/styles/components.css index a78e0ef0a..870698d8d 100644 --- a/ui/src/styles/components.css +++ b/ui/src/styles/components.css @@ -15,6 +15,7 @@ box-shadow var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out); box-shadow: var(--shadow-sm), inset 0 1px 0 var(--card-highlight); + min-width: 0; } .card:hover { @@ -594,6 +595,9 @@ max-height: 360px; overflow: auto; max-width: 100%; + white-space: pre-wrap; + overflow-wrap: break-word; + min-width: 0; } :root[data-theme="light"] .code-block,