style: update VarPanel to use whitespace-pre-wrap for value display (#4684)

This commit is contained in:
Hash Brown 2024-05-28 14:54:29 +08:00 committed by GitHub
parent e198bc9b9a
commit e6f6a59f3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ const VarPanel: FC<Props> = ({
<span className='truncate'>{label}</span> <span className='truncate'>{label}</span>
<span className='shrink-0 opacity-60'>{'}}'}</span> <span className='shrink-0 opacity-60'>{'}}'}</span>
</div> </div>
<div className='pl-2.5 break-all'>{value}</div> <div className='pl-2.5 whitespace-pre-wrap'>{value}</div>
</div> </div>
))} ))}