Skip to content

Commit c58a52d

Browse files
committed
Fix some mobile UI Issues
1 parent 96cae78 commit c58a52d

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

pages/index.tsx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,26 @@ function Home() {
1010
<div>
1111
<Head>
1212
<title>HelpChat ToolBox</title>
13-
<meta name="description" content="A collection of tools and solutions you might find useful for you and your server." />
13+
<meta
14+
name="description"
15+
content="A collection of tools and solutions you might find useful for you and your server."
16+
/>
1417
</Head>
1518
<main
1619
css={css`
1720
${tw`flex flex-col md:height[calc(100vh - 3.5rem)]`}
1821
`}
1922
>
20-
<div css={tw`text-white w-full md:px-8 p-16 h-64 text-center space-y-7`}>
23+
<div
24+
css={tw`text-white w-full md:px-8 p-16 md:h-64 text-center space-y-7`}
25+
>
2126
<p css={tw`text-lg text-brightblue`}>Introducing the all new</p>
2227
<div css={tw`text-white text-center space-y-12`}>
2328
<p css={tw`text-5xl font-bold`}>HelpChat ToolBox</p>
24-
<p css={tw`text-base text-lightgray `}>A collection of tools and solutions you might find useful for you and your server.</p>
29+
<p css={tw`text-base text-lightgray`}>
30+
A collection of tools and solutions you might find useful for you
31+
and your server.
32+
</p>
2533
</div>
2634
</div>
2735
<div
@@ -31,7 +39,7 @@ function Home() {
3139
>
3240
<div
3341
css={css`
34-
${tw`block mx-auto w-max mt-8`}
42+
${tw`block mx-auto w-max mt-8 mb-8 md:mb-0`}
3543
`}
3644
>
3745
<div
@@ -88,7 +96,7 @@ function ToolboxCard({
8896
return (
8997
<Link href={link} passHref>
9098
<div
91-
css={tw`p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer width[15rem] h-48 block grid grid-cols-1 place-items-center mix-blend-multiply`}
99+
css={tw`p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer width[15rem] min-height[12rem] w-56 block grid grid-cols-1 place-items-center mix-blend-multiply`}
92100
>
93101
<FontAwesomeIcon icon={icon} size={"3x"} />
94102
<p css={tw`font-bold text-lg margin-bottom[-1rem]`}>{name}</p>

0 commit comments

Comments
 (0)