Change hashtag bar tags to be de-emphasized (#26606)

shrike
Claire 2023-08-23 15:44:52 +02:00 committed by GitHub
parent 152b10b624
commit 613cfd625c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -216,7 +216,7 @@ const HashtagBar: React.FC<{
<div className='hashtag-bar'> <div className='hashtag-bar'>
{revealedHashtags.map((hashtag) => ( {revealedHashtags.map((hashtag) => (
<Link key={hashtag} to={`/tags/${hashtag}`}> <Link key={hashtag} to={`/tags/${hashtag}`}>
#{hashtag} #<span>{hashtag}</span>
</Link> </Link>
))} ))}

View File

@ -9305,16 +9305,15 @@ noscript {
a { a {
display: inline-flex; display: inline-flex;
border-radius: 4px; color: $dark-text-color;
background: rgba($highlight-text-color, 0.2);
color: $highlight-text-color;
padding: 0.4em 0.6em;
text-decoration: none; text-decoration: none;
&:hover, &:hover {
&:focus, text-decoration: none;
&:active {
background: rgba($highlight-text-color, 0.3); span {
text-decoration: underline;
}
} }
} }
} }