Skip to content

Commit

Permalink
fiximgwidth (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
xpy01xpy authored Aug 28, 2024
1 parent 09afa15 commit 3d61a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/home/EarthBackground.astro
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const { stargazers_count=0, forks_count=0 }:StarAndForkT = await sendFetch("http
min-height: calc(100vh - 4rem);
transition: all 2s;
background: url('https://img.alicdn.com/imgextra/i1/O1CN01bK8pUi1qbStG6nCiT_!!6000000005514-0-tps-5760-2724.jpg') no-repeat;
background-size: auto calc(100vh - 4rem)!important;
background-size: 100vw calc(100vh - 4rem)!important;
background-position: 0 0!important;

}
Expand All @@ -144,7 +144,7 @@ const { stargazers_count=0, forks_count=0 }:StarAndForkT = await sendFetch("http
min-height: calc(100vh - 4rem);
transition: all 2s;
background: url('https://img.alicdn.com/imgextra/i2/O1CN01RFd3Zh263940RBbkw_!!6000000007605-0-tps-5760-2724.jpg') no-repeat;
background-size: auto calc(100vh - 4rem)!important;
background-size: 100vw calc(100vh - 4rem)!important;
background-position: 0 0!important;
opacity: 0;
z-index: 0;
Expand Down

0 comments on commit 3d61a04

Please sign in to comment.