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

Port 613cfd625c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Claire 2023-08-23 15:44:52 +02:00
parent 5485c87def
commit f5b0cca7d0
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

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