responsive fix

This commit is contained in:
Kakabay 2024-12-20 18:16:15 +05:00
parent 1a4c9640ec
commit 6cabf5d1c9
2 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,6 @@ import MobileMenu from '@/components/MobileMenu';
import Nav from '@/components/Nav';
import GlobalContext from '@/context/GlobalContext';
import MainProvider from '@/providers/MainProvider';
import { useContext } from 'react';
interface IProps {
children: React.ReactNode;
@ -14,7 +13,7 @@ const RootLayout = ({ children }: IProps) => {
return (
<div className="z-20 relative">
<MainProvider>
<Buble />
{/* <Buble /> */}
<div className="bg-white dark:bg-black transition-all h-full">
<h1 className="hidden">Turkmen TV</h1>
<Nav />

View File

@ -50,8 +50,8 @@ const PrizesPage = ({ params }: { params: { user_id: string } }) => {
}
return (
<div className="flex flex-col gap-[32px] md:gap-[64px] items-center">
<header className="flex flex-col items-center gap-[24px]">
<div className="flex flex-col gap-[32px] md:gap-[64px] items-center w-full overflow-x-hidden">
<header className="flex flex-col items-center gap-[24px] w-full">
<div className="flex flex-col gap-[8px] max-w-[639px] w-full">
<h1 className="text-lightOnSurface text-heading1 leading-heading1 md:text-display1 md:leading-display1 tracking-[-1%] text-center font-medium">
{data.data.title}