feat(wallpaper): add pixel city wallpaper to the wallpaper collection
All checks were successful
Deploy / deploy (push) Successful in 12s
All checks were successful
Deploy / deploy (push) Successful in 12s
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background-size: 24px 24px, 12px 12px, cover;
|
||||
background-position: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -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)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user