feat(wallpaper): add pixel city wallpaper to the wallpaper collection
All checks were successful
Deploy / deploy (push) Successful in 12s

This commit is contained in:
M1ngdaXie
2026-03-29 17:03:50 -07:00
parent c0dfdb1e54
commit 38bc80c566
5 changed files with 8 additions and 3 deletions

View File

@@ -31,7 +31,10 @@ export default function Desktop() {
return (
<div
className="desktop"
style={{ background: WALLPAPERS[state.wallpaper] }}
style={{
background: WALLPAPERS[state.wallpaper],
backgroundSize: WALLPAPERS[state.wallpaper].startsWith('url(') ? 'cover' : undefined,
}}
onContextMenu={handleContextMenu}
onClick={() => setCtxMenu(null)}
>