Skip to content

Commit 0044876

Browse files
Alex KrawiecAlex Krawiec
authored andcommitted
Fix dark mode appearance of new menu
1 parent b7040f1 commit 0044876

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

src/components/platformFilter/client.tsx

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -92,24 +92,26 @@ export function PlatformFilterClient({platforms}: {platforms: Platform[]}) {
9292
</div>
9393
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
9494
{mostViewedPlatforms.map(platform => (
95-
<Link
96-
href={platform.url}
97-
key={platform.key}
98-
style={{
99-
textDecoration: 'none',
100-
color: 'var(--foreground) !important',
101-
}}
102-
>
103-
<div className={styles.StandalonePlatform}>
104-
<PlatformIcon
105-
size={20}
106-
platform={platform.icon ?? platform.key}
107-
format="lg"
108-
className={`${styles.PlatformIcon} !border-none !shadow-none`}
109-
/>
110-
{platform.title}
111-
</div>
112-
</Link>
95+
<div className={`flex flex-col gap-4 ${styles.platform}`} key={platform.key}>
96+
<Link
97+
href={platform.url}
98+
key={platform.key}
99+
style={{
100+
textDecoration: 'none',
101+
color: 'var(--foreground) !important',
102+
}}
103+
>
104+
<div className={styles.StandalonePlatform}>
105+
<PlatformIcon
106+
size={20}
107+
platform={platform.icon ?? platform.key}
108+
format="lg"
109+
className={`${styles.PlatformIcon} !border-none !shadow-none`}
110+
/>
111+
{platform.title}
112+
</div>
113+
</Link>
114+
</div>
113115
))}
114116
</div>
115117
</div>

0 commit comments

Comments
 (0)