This commit is contained in:
dswbx
2024-11-16 12:57:27 +01:00
parent 90f80c4280
commit 95ea2c8919
5 changed files with 8 additions and 5 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@@ -188,7 +188,7 @@ export function Canvas({
>
{backgroundStyle === "lines" && (
<Background
color={theme === "light" ? "rgba(0,0,0,.1)" : "rgba(255,255,255,.1)"}
color={theme === "light" ? "rgba(0,0,0,.05)" : "rgba(255,255,255,.1)"}
gap={[50, 50]}
variant={BackgroundVariant.Lines}
/>

View File

@@ -229,7 +229,11 @@ export const CellValue = ({ value, property }) => {
}
if (value !== null && typeof value !== "undefined") {
return <span className={twMerge("line-clamp-2", value_mono && "font-mono")}>{value}</span>;
return (
<span className={twMerge("line-clamp-2", value_mono && "font-mono break-all")}>
{value}
</span>
);
}
return <span className="opacity-10 font-mono">null</span>;