Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperhodge committed Dec 16, 2024
1 parent daba24e commit 0b8f9c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/optimizer-page/scan-results/BrokenLinkTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const BrokenLinkTable = ({ unit, showLockedLinks }) => {
const intl = useIntl();
return (
<>
<p className="block-header">{unit.displayName}</p>
<p className="unit-header">{unit.displayName}</p>
<Table
data={unit.blocks.reduce((acc, block) => {
const blockBrokenLinks = block.brokenLinks.map(
Expand Down
15 changes: 5 additions & 10 deletions src/optimizer-page/scan-results/ScanResults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
&:not(:first-child) {
margin-top: 1rem;
}

margin-bottom: 1rem;
}
}
Expand All @@ -29,25 +30,19 @@
.subsection-header {
font-size: 16px; /* Slightly smaller */
font-weight: 600; /* Reduced boldness */
background-color: rgb(248, 247, 246); /* Subtle gray background */
background-color: $dark-100;
padding: 10px;
margin-bottom: 10px;
}

/* Subsection Header */
.unit-header {
font-size: 16px; /* Slightly smaller than Section */
font-weight: 500;
margin-left: .5rem;
margin-top: 10px;
color: #555;
}

/* Unit Header */
.unit-header {
font-size: 14px;
font-weight: 700;
margin-bottom: 5px;
color: $primary-500;
}

/* Block Links */
Expand Down Expand Up @@ -83,7 +78,7 @@
}

.locked-links-checkbox {
margin-top: 0.45rem;
margin-top: .45rem;
}

.locked-links-checkbox-wrapper {
Expand All @@ -94,7 +89,7 @@
.link-status-text {
display: flex;
align-items: center;
gap: 0.5rem;
gap: .5rem;
}

.broken-link-icon {
Expand Down

0 comments on commit 0b8f9c0

Please sign in to comment.