fix: overflow profile properties

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-27 12:05:47 +01:00
parent d154e12d66
commit d4e3470f7e

View File

@@ -113,7 +113,13 @@ export function KeyValueGrid({
<div className={cn('flex-1 min-w-0 text-sm', keyClassName)}> <div className={cn('flex-1 min-w-0 text-sm', keyClassName)}>
{renderKey ? renderKey(item) : defaultRenderKey(item)} {renderKey ? renderKey(item) : defaultRenderKey(item)}
</div> </div>
<div className={cn('text-right text-sm font-mono', valueClassName)}> <div
className={cn(
'text-right text-sm font-mono truncate',
valueClassName,
)}
title={typeof item.value === 'string' ? item.value : undefined}
>
{renderValue ? renderValue(item) : defaultRenderValue(item)} {renderValue ? renderValue(item) : defaultRenderValue(item)}
</div> </div>
</div> </div>