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)
This commit is contained in:
Ashish Gupta 2025-05-19 17:54:18 +05:30
parent 0a2d9af34d
commit 50f526ca41
2 changed files with 6 additions and 3 deletions

View File

@ -310,8 +310,11 @@ export const DataAssetsHeader = ({
); );
const showCompressedExtraInfoItems = useMemo( const showCompressedExtraInfoItems = useMemo(
() => getEntityExtraInfoLength(extraInfo) <= 1, () =>
[extraInfo] entityType === EntityType.METRIC
? false
: getEntityExtraInfoLength(extraInfo) <= 1,
[extraInfo, entityType]
); );
const handleOpenTaskClick = () => { const handleOpenTaskClick = () => {

View File

@ -94,7 +94,7 @@
@keyframes scrollInWithAlert { @keyframes scrollInWithAlert {
to { to {
bottom: 160px; bottom: 170px;
} }
} }