[Glitch] Change hashtag bar tags to be de-emphasized

Port 613cfd625c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
th-new
Claire 2023-08-23 15:44:52 +02:00
parent fc514fa8c6
commit 45690b01d1
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

@ -1671,16 +1671,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;
}
} }
} }
} }