Skip to content

Commit

Permalink
Increase height and leave 2px between lines
Browse files Browse the repository at this point in the history
  • Loading branch information
steff456 committed Aug 9, 2023
1 parent 0b71c14 commit 344f9c1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/features/dependencies/components/Dependencies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const Dependencies = ({
</StyledAccordionSummary>
<StyledAccordionDetails
id="infScroll"
sx={{ padding: "15px 21px", maxHeight: "100px" }}
sx={{ padding: "15px 21px", maxHeight: "300px" }}
ref={scrollRef}
>
<InfiniteScroll
Expand All @@ -81,8 +81,13 @@ export const Dependencies = ({
>
{dependencies.length ? (
<>
{dependencies.map(dependency => (
<Box key={dependency.id}>
{dependencies.map((dependency, index) => (
<Box
key={dependency.id}
sx={{
marginBottom: index === listLength - 1 ? "0px" : "2px"
}}
>
<DependenciesItem
mode={mode}
dependency={dependency}
Expand Down

0 comments on commit 344f9c1

Please sign in to comment.