Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#1709] fix(web): fix comment display (#1712)

CHEYNE285d67248137
diff --git a/web/app/ui/DetailsDrawer.js b/web/app/ui/DetailsDrawer.js
index 72ecbba540..9f68e1e79b 100644
--- a/web/app/ui/DetailsDrawer.js
+++ b/web/app/ui/DetailsDrawer.js
@@ -42,7 +42,7 @@ const DetailsDrawer = props => {
}
return (
- <Typography sx={{ fontWeight: 500, whiteSpace: linkBreak ? 'pre' : 'normal' }}>
+ <Typography sx={{ fontWeight: 500, whiteSpace: linkBreak ? 'pre-wrap' : 'normal' }}>
{isValidDate(value) ? formatToDateTime(value) : value}
</Typography>
)
diff --git a/web/app/ui/metalakes/DetailsView.js b/web/app/ui/metalakes/DetailsView.js
index a8007e92a0..3c9f764ca5 100644
--- a/web/app/ui/metalakes/DetailsView.js
+++ b/web/app/ui/metalakes/DetailsView.js
@@ -29,7 +29,7 @@ const DetailsView = props => {
}
return (
- <Typography sx={{ fontWeight: 500, whiteSpace: linkBreak ? 'pre' : 'normal' }}>
+ <Typography sx={{ fontWeight: 500, whiteSpace: linkBreak ? 'pre-wrap' : 'normal' }}>
{isValidDate(value) ? formatToDateTime(value) : value}
</Typography>
)