Skip to content

Commit c5ab522

Browse files
committed
fix mobile
1 parent 93de2e4 commit c5ab522

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/landing-page-components/context-providers/mobile-context-provider.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const MobileContext = createContext(true);
44

55
export const MobileContextProvider = ({ children }) => {
66
const [isMobile, setIsMobile] = useState(true);
7-
const [isTablet, setIsTablet] = useState(false);
7+
const [isTablet, setIsTablet] = useState(true);
88

99
useEffect(() => {
1010
if (!window) return;

src/components/landing-page-components/sections/landing-page-initial.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ const LandingPageInitial = () => {
6060
className="flex justify-between w-full h-full"
6161
>
6262
<div
63-
className="shrink-0"
63+
className={isTablet ?
64+
""
65+
:
66+
"shrink-0"
67+
}
6468
>
6569
<div
6670
className={isTablet ?

0 commit comments

Comments
 (0)