Skip to content

Commit

Permalink
fix: fix issue where the card content would overflow
Browse files Browse the repository at this point in the history
Closes #1421
  • Loading branch information
mainawycliffe committed Nov 9, 2023
1 parent 0ab5db7 commit 3084ee2
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 3084ee2

Please sign in to comment.