Skip to content

Commit

Permalink
Make Help link noticeable
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderby committed Sep 25, 2023
1 parent d50ee91 commit 0f91dab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/popup/components/body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function Body(props: BodyProps & {fonts: string[]}) {
<a class="footer-links__link" href={PRIVACY_URL} target="_blank" rel="noopener noreferrer">{getLocalMessage('privacy')}</a>
<a class="footer-links__link" href={TWITTER_URL} target="_blank" rel="noopener noreferrer">Twitter</a>
<a class="footer-links__link" href={GITHUB_URL} target="_blank" rel="noopener noreferrer">GitHub</a>
<a class="footer-links__link" href={getHelpURL()} target="_blank" rel="noopener noreferrer">{getLocalMessage('help')}</a>
<a class="footer-links__link footer-help-link" href={getHelpURL()} target="_blank" rel="noopener noreferrer">{getLocalMessage('help')}</a>
</div>
<div class="footer-buttons">
<a class="donate-link" href={DONATE_URL} target="_blank" rel="noopener noreferrer">
Expand Down
15 changes: 15 additions & 0 deletions src/ui/popup/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,21 @@ footer {
}
}

.footer-help-link {
color: @color-control-fore;
font-weight: bold;

&::after {
background-color: @color-control-active;
border-radius: 50%;
content: "?";
display: inline-block;
height: @size-text-normal-height;
margin-left: 0.125rem;
width: @size-text-normal-height;
}
}

//
// Make popup borders the same
// across platforms and browser versions
Expand Down

0 comments on commit 0f91dab

Please sign in to comment.