Skip to content

Commit a4483cf

Browse files
committed
Revert "Merge pull request #797 from arc53/fix_boxes_hero"
This reverts commit 0bf020a, reversing changes made to a62566e.
1 parent 0bf020a commit a4483cf

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

frontend/src/Hero.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ export default function Hero({ className = '' }: { className?: string }) {
3636
<div
3737
className={`sections ${
3838
isMobile ? '' : 'mt-1'
39-
} flex flex-wrap items-center justify-center gap-2 lg:gap-1 xl:gap-0`}
39+
} flex flex-wrap items-center justify-center gap-2 sm:gap-1 md:gap-0`}
4040
>
4141
{/* first */}
42-
<div className=" rounded-[50px] bg-gradient-to-l from-[#6EE7B7]/70 via-[#3B82F6] to-[#9333EA]/50 p-1 xl:rounded-tr-none xl:rounded-br-none">
42+
<div className=" rounded-[50px] bg-gradient-to-l from-[#6EE7B7]/70 via-[#3B82F6] to-[#9333EA]/50 p-1 md:rounded-tr-none md:rounded-br-none">
4343
<div
4444
className={`h-full rounded-[45px] bg-white p-${
45-
isMobile ? '3.5' : '6 py-6'
46-
} xl:rounded-tr-none xl:rounded-br-none`}
45+
isMobile ? '3.5' : '6 py-8'
46+
} md:rounded-tr-none md:rounded-br-none`}
4747
>
4848
{/* Add Mobile check here */}
4949
{isMobile ? (
@@ -84,11 +84,11 @@ export default function Hero({ className = '' }: { className?: string }) {
8484
</div>
8585
</div>
8686
{/* second */}
87-
<div className=" rounded-[50px] bg-gradient-to-r from-[#6EE7B7]/70 via-[#3B82F6] to-[#9333EA]/50 p-1 xl:rounded-none xl:py-1 xl:px-0">
87+
<div className=" rounded-[50px] bg-gradient-to-r from-[#6EE7B7]/70 via-[#3B82F6] to-[#9333EA]/50 p-1 md:rounded-none md:py-1 md:px-0">
8888
<div
8989
className={`rounded-[45px] bg-white p-${
9090
isMobile ? '3.5' : '6 py-6'
91-
} xl:rounded-none`}
91+
} md:rounded-none`}
9292
>
9393
{/* Add Mobile check here */}
9494
{isMobile ? (
@@ -121,11 +121,11 @@ export default function Hero({ className = '' }: { className?: string }) {
121121
</div>
122122
</div>
123123
{/* third */}
124-
<div className=" rounded-[50px] bg-gradient-to-l from-[#6EE7B7]/80 via-[#3B82F6] to-[#9333EA]/50 p-1 xl:rounded-tl-none xl:rounded-bl-none ">
124+
<div className=" rounded-[50px] bg-gradient-to-l from-[#6EE7B7]/80 via-[#3B82F6] to-[#9333EA]/50 p-1 md:rounded-tl-none md:rounded-bl-none ">
125125
<div
126-
className={`rounded-[45px] bg-white p-${
126+
className={`firefox rounded-[45px] bg-white p-${
127127
isMobile ? '3.5' : '6 px-6 '
128-
} xl:rounded-tl-none xl:rounded-bl-none`}
128+
} lg:rounded-tl-none lg:rounded-bl-none`}
129129
>
130130
{/* Add Mobile check here */}
131131
{isMobile ? (

frontend/src/Navigation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) {
242242
</p>
243243
</NavLink>
244244
{conversations && (
245-
<div className="conversations-container max-h-[19rem] overflow-y-auto">
245+
<div className="conversations-container max-h-[25rem] overflow-y-auto">
246246
<p className="ml-6 mt-3 text-sm font-semibold">Chats</p>
247247
{conversations?.map((conversation) => (
248248
<ConversationTile

0 commit comments

Comments
 (0)