From 50f526ca41511226eca4aa8e7dd440e160d6423a Mon Sep 17 00:00:00 2001 From: Ashish Gupta Date: Mon, 19 May 2025 17:54:18 +0530 Subject: [PATCH] MINOR: fix the data asset header spacing in Metric entity (#21268) * fix the data asset header spacing in Metric entity * fix the spacing between floating cards on homepage (cherry picked from commit 992d3f966407369cabba2271a749180d2c17b2b9) --- .../DataAssetsHeader/DataAssetsHeader.component.tsx | 7 +++++-- .../MyData/GithubStarCard/github-star-card.style.less | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx b/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx index e737f1c16c2..e620100ee4b 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/DataAssets/DataAssetsHeader/DataAssetsHeader.component.tsx @@ -310,8 +310,11 @@ export const DataAssetsHeader = ({ ); const showCompressedExtraInfoItems = useMemo( - () => getEntityExtraInfoLength(extraInfo) <= 1, - [extraInfo] + () => + entityType === EntityType.METRIC + ? false + : getEntityExtraInfoLength(extraInfo) <= 1, + [extraInfo, entityType] ); const handleOpenTaskClick = () => { diff --git a/openmetadata-ui/src/main/resources/ui/src/components/MyData/GithubStarCard/github-star-card.style.less b/openmetadata-ui/src/main/resources/ui/src/components/MyData/GithubStarCard/github-star-card.style.less index 51b50bc3250..b9a3b3e7687 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/MyData/GithubStarCard/github-star-card.style.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/MyData/GithubStarCard/github-star-card.style.less @@ -94,7 +94,7 @@ @keyframes scrollInWithAlert { to { - bottom: 160px; + bottom: 170px; } }