Skip to content

Commit d7a7042

Browse files
authored
Merge pull request #387 from zhangchi0104/fix/mumu-ads-dark-mode
fix: lower the brightness of mumu ads in dark mode
2 parents b640ee8 + 5ec48a7 commit d7a7042

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ const Ads =
7474
? () => (
7575
// eslint-disable-next-line react/jsx-no-target-blank
7676
<a
77-
className="block relative"
77+
className="block relative dark:brightness-[85%]"
7878
href="https://gad.netease.com/gad/access?project_id=201005304&s=SppRGFTnJ1VxfSFEZWE6hY3pO4gn&code_type=1"
7979
target="_blank"
8080
>
8181
<img src="/ads_mumu.jpg" alt="MuMu模拟器" />
82-
<div className="absolute bottom-2 right-2 border border-current rounded text-[10px] text-zinc-300 px-1">
82+
<div className="absolute bottom-2 right-2 border border-current rounded text-[10px] text-zinc-300 px-1 ">
8383
广告
8484
</div>
8585
</a>

0 commit comments

Comments
 (0)