Skip to content

Commit c5ac6a5

Browse files
committed
fix tag link visited colour
1 parent ed26abf commit c5ac6a5

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

api/src/controllers/torrent.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,6 @@ export const getTorrentsPage = async ({
599599
{ $unwind: { path: "$fetchedBy", preserveNullAndEmptyArrays: true } },
600600
]);
601601

602-
console.log(torrents);
603-
604602
const [count] = await Torrent.aggregate([
605603
...(query
606604
? [

client/pages/torrent/[infoHash].js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,14 @@ const Torrent = ({ token, torrent = {}, userId, userRole, uid }) => {
632632
m={1}
633633
>
634634
<Link href={`/tags/${tag}`} passHref>
635-
<Text as="a" display="block" color="text" px={3} py={1}>
635+
<Text
636+
as="a"
637+
display="block"
638+
color="text"
639+
_css={{ "&:visited": { color: "text" } }}
640+
px={3}
641+
py={1}
642+
>
636643
{tag}
637644
</Text>
638645
</Link>

0 commit comments

Comments
 (0)