Skip to content

Commit

Permalink
fix: Increase rendering margin.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 7, 2020
1 parent 5042a46 commit 7b13210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PackageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export default function PackageList({ packages }: PackageListProps) {
packages
.filter((pkg) => pkg.isRunning())
.some((pkg) => {
// margin top (1) + name row (1) + artifacts (n)
const rowHeight = 2 + pkg.artifacts.length;
// margin (2) + name row (1) + artifacts (n)
const rowHeight = 3 + pkg.artifacts.length;

// Not enough room to display another row
if (currentHeight + rowHeight > height) {
Expand Down

0 comments on commit 7b13210

Please sign in to comment.