Skip to content

Commit 38590e1

Browse files
committed
Fix extremely small firefox screens
1 parent c58a52d commit 38590e1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pages/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ function Home() {
2525
>
2626
<p css={tw`text-lg text-brightblue`}>Introducing the all new</p>
2727
<div css={tw`text-white text-center space-y-12`}>
28-
<p css={tw`text-5xl font-bold`}>HelpChat ToolBox</p>
28+
<p css={tw`text-5xl font-bold overflow-hidden break-all`}>
29+
HelpChat ToolBox
30+
</p>
2931
<p css={tw`text-base text-lightgray`}>
3032
A collection of tools and solutions you might find useful for you
3133
and your server.
@@ -43,7 +45,7 @@ function Home() {
4345
`}
4446
>
4547
<div
46-
css={tw`bg-white/10 backdrop-blur-sm drop-shadow-lg rounded-2xl grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-6 sm:p-8 md:p-6 md:px-6 w-full`}
48+
css={tw`bg-white/10 backdrop-blur-sm drop-shadow-lg rounded-2xl grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 p-6 sm:p-8 md:p-6 md:px-6 w-full max-width[90vw] overflow-hidden`}
4749
>
4850
{(() => {
4951
const tools: JSX.Element[] = [];
@@ -96,7 +98,7 @@ function ToolboxCard({
9698
return (
9799
<Link href={link} passHref>
98100
<div
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`}
101+
css={tw`p-3 rounded-2xl bg-white/10 hover:bg-white/20 text-white hover:cursor-pointer width[15rem] max-w-full break-words min-height[12rem] w-56 block grid grid-cols-1 place-items-center mix-blend-multiply`}
100102
>
101103
<FontAwesomeIcon icon={icon} size={"3x"} />
102104
<p css={tw`font-bold text-lg margin-bottom[-1rem]`}>{name}</p>

0 commit comments

Comments
 (0)