Skip to content

Commit

Permalink
优化界面
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Oct 10, 2023
1 parent e29ccd8 commit 6032dd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</style>
</head>
<body class="select-none font-sans text-gray-700 m-0">
<main class="fixed w-full h-full bg-gray-900 z-10" id="main"></main>
<main class="fixed w-full h-full bg-white z-10" id="main"></main>
<script src="index.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion src/genshin-map/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function GenshinMap() {
return (
<Tilemap
key={mapInfo.getId()}
className="absolute w-full h-full"
className="absolute w-full h-full bg-gray-900"
mapSize={[mapInfo.getWidth(), mapInfo.getHeight()]}
origin={[mapInfo.getOriginX(), mapInfo.getOriginY()]}
maxZoom={1}
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ function Main() {
const { mapData } = useSnapshot(store);
if (!mapData) {
return (
<div className="w-full h-full bg-white flex justify-center items-center">
<div className="w-full h-full flex justify-center items-center">
<img
className="max-w-xs md:max-w-md"
className="max-w-[12rem] md:max-w-xs"
src={require("../images/splash.jpg")}
/>
</div>
Expand Down

0 comments on commit 6032dd8

Please sign in to comment.