fix steam widget in dark mode.

This commit is contained in:
2025-05-28 20:42:34 +08:00
parent 9137f470ef
commit 3572d1e580

View File

@@ -319,6 +319,7 @@ function Article({resource}: { resource: ResourceDetails }) {
if (!Number.isNaN(Number(appId))) { if (!Number.isNaN(Number(appId))) {
return <div className={"max-w-xl h-52 sm:h-48 my-2"}> return <div className={"max-w-xl h-52 sm:h-48 my-2"}>
<iframe <iframe
className={"scheme-light"}
src={`https://store.steampowered.com/widget/${appId}/`} src={`https://store.steampowered.com/widget/${appId}/`}
></iframe> ></iframe>
</div> </div>