Skip to content

Commit d8e49e4

Browse files
dcrjodleclaude
andcommitted
Add full width to multiline detail values
DetailItem multiline values now use w-full to ensure the value container stretches to full width, allowing child layouts with justify-between to properly position elements at opposite edges. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 471d988 commit d8e49e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/frontend/src/components/ui/detail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const DetailItem = React.forwardRef<HTMLDivElement, DetailItemProps>(
6161
detailValueSizeVariant({ density }),
6262
multiline
6363
? cn(
64-
"whitespace-normal break-words text-left",
64+
"w-full whitespace-normal break-words text-left",
6565
detailValueMultiLinePaddingVariant({ density }),
6666
)
6767
: "truncate text-right ml-auto",

0 commit comments

Comments
 (0)