Skip to content

Commit 613cfd6

Browse files
Change hashtag bar tags to be de-emphasized (mastodon#26606)
1 parent 152b10b commit 613cfd6

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

app/javascript/mastodon/components/hashtag_bar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ const HashtagBar: React.FC<{
216216
<div className='hashtag-bar'>
217217
{revealedHashtags.map((hashtag) => (
218218
<Link key={hashtag} to={`/tags/${hashtag}`}>
219-
#{hashtag}
219+
#<span>{hashtag}</span>
220220
</Link>
221221
))}
222222

app/javascript/styles/mastodon/components.scss

+7-8
Original file line numberDiff line numberDiff line change
@@ -9305,16 +9305,15 @@ noscript {
93059305

93069306
a {
93079307
display: inline-flex;
9308-
border-radius: 4px;
9309-
background: rgba($highlight-text-color, 0.2);
9310-
color: $highlight-text-color;
9311-
padding: 0.4em 0.6em;
9308+
color: $dark-text-color;
93129309
text-decoration: none;
93139310

9314-
&:hover,
9315-
&:focus,
9316-
&:active {
9317-
background: rgba($highlight-text-color, 0.3);
9311+
&:hover {
9312+
text-decoration: none;
9313+
9314+
span {
9315+
text-decoration: underline;
9316+
}
93189317
}
93199318
}
93209319
}

0 commit comments

Comments
 (0)