Skip to content

Commit

Permalink
Fix splash img
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Oct 9, 2023
1 parent 0dafa61 commit 2514a4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ function Main() {
if (!mapData) {
return (
<div className="w-full h-full bg-white flex justify-center items-center">
<img src={require("../images/splash.jpg")} />
<img
className="max-w-xs md:max-w-md"
src={require("../images/splash.jpg")}
/>
</div>
);
}
Expand Down

0 comments on commit 2514a4e

Please sign in to comment.