Skip to content

Commit

Permalink
Merge pull request #1490 from flanksource/1421-topology-card-overflow…
Browse files Browse the repository at this point in the history
…-hiding-text

fix: fix issue where the card content would overflow
  • Loading branch information
moshloop authored Nov 13, 2023
2 parents 0695dd7 + 3084ee2 commit b6b37b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/TopologyCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function TopologyCard({
<>
{Boolean(properties.length) && (
<CustomScroll
className="flex-1 py-4 pl-2"
className="flex-1 py-2 pl-2"
showMoreClass="text-xs linear-1.21rel mr-1 cursor-pointer"
maxHeight="200px"
minChildCount={6}
Expand All @@ -219,14 +219,14 @@ export function TopologyCard({
className={
index === topology.properties!.length - 1
? "mb-0"
: "mb-2.5"
: "mb-1.5"
}
/>
))}
</CustomScroll>
)}
<CustomScroll
className="flex-1 py-4 pl-2 pr-2 space-y-1.5"
className="flex-1 py-2 pl-2 pr-2 space-y-1.5"
showMoreClass="text-xs linear-1.21rel mr-1 cursor-pointer"
maxHeight="200px"
minChildCount={5}
Expand Down

0 comments on commit b6b37b1

Please sign in to comment.