Skip to content

Commit

Permalink
Optimize whitespace in dependencies widget (#262)
Browse files Browse the repository at this point in the history
* remove whitespace

* Remove unused variable

* Increase height and leave 2px between lines
  • Loading branch information
steff456 authored Aug 10, 2023
1 parent e682a8a commit 654b3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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 @@ -85,7 +85,7 @@ export const Dependencies = ({
<Box
key={dependency.id}
sx={{
marginBottom: index === listLength - 1 ? "0px" : "20px"
marginBottom: index === listLength - 1 ? "0px" : "2px"
}}
>
<DependenciesItem
Expand Down

0 comments on commit 654b3a5

Please sign in to comment.