Skip to content

Commit e1a13d1

Browse files
authored
properly center welcome page content (#97)
1 parent 48faad4 commit e1a13d1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/ui/EmptyState.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,11 @@ export const EmptyState = () => {
6363
alignItems: "center",
6464
height: "100%",
6565
color: "#d9d9d9",
66-
padding: "3rem 2rem",
6766
overflowY: "auto",
6867
fontFamily: token.fontFamily
6968
}}
7069
>
71-
<Space direction="vertical" size="large" align="center" style={{ width: "100%" }}>
70+
<Space direction="vertical" size="large" align="center" style={{ padding: "2rem", margin: "auto" }}>
7271
<img
7372
src="/assets/mcsrc_favicon.svg"
7473
alt="mcsrc logo"
@@ -84,7 +83,6 @@ export const EmptyState = () => {
8483
color: "#d9d9d9",
8584
textAlign: "center",
8685
fontWeight: "500",
87-
maxWidth: "700px"
8886
}}>
8987
mcsrc.dev is a browser-based tool for viewing decompiled Minecraft Java Edition source code
9088
</Paragraph>

0 commit comments

Comments
 (0)