Skip to content

Commit

Permalink
chore: Markup cleanpu
Browse files Browse the repository at this point in the history
  • Loading branch information
vkraucunas committed Nov 26, 2024
1 parent da80234 commit cd53f3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ export function PrivacyStatsBody({ trackerCompanies, listAttrs = {} }) {
if (company.displayName === DDG_STATS_OTHER_COMPANY_IDENTIFIER) {
const otherText = t('stats_otherCount', { count: String(company.count) });
return (
<li key={company.displayName}>
<div class={styles.textRow}>{otherText}</div>
<li key={company.displayName} class={styles.otherTrackersRow}>
{otherText}
</li>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@
}
}

.textRow {
.otherTrackersRow {
margin-top: var(--sp-3);
padding-left: var(--sp-1);
color: var(--ntp-text-muted);
}

.company {
grid-area: company;
display: flex;
Expand All @@ -156,13 +157,14 @@
height: 1rem;
border-radius: 50%;
flex-shrink: 0;

img, svg {
display: block;
font-size: 0;
width: 1rem;
height: 1rem;

}

&:has([data-errored=true]) {
outline: 1px solid var(--ntp-surface-border-color);
@media screen and (prefers-color-scheme: dark) {
Expand Down

0 comments on commit cd53f3e

Please sign in to comment.