Skip to content

Commit

Permalink
Change hashtag bar tags to be de-emphasized (mastodon#26606)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire authored Aug 23, 2023
1 parent 152b10b commit 613cfd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/components/hashtag_bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const HashtagBar: React.FC<{
<div className='hashtag-bar'>
{revealedHashtags.map((hashtag) => (
<Link key={hashtag} to={`/tags/${hashtag}`}>
#{hashtag}
#<span>{hashtag}</span>
</Link>
))}

Expand Down
15 changes: 7 additions & 8 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9305,16 +9305,15 @@ noscript {

a {
display: inline-flex;
border-radius: 4px;
background: rgba($highlight-text-color, 0.2);
color: $highlight-text-color;
padding: 0.4em 0.6em;
color: $dark-text-color;
text-decoration: none;

&:hover,
&:focus,
&:active {
background: rgba($highlight-text-color, 0.3);
&:hover {
text-decoration: none;

span {
text-decoration: underline;
}
}
}
}

0 comments on commit 613cfd6

Please sign in to comment.