diff --git a/src/app/globals.css b/src/app/globals.css index 6998ad6..ee1f572 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -102,9 +102,7 @@ body { body { height: 100vh; - display: flex; - flex-direction: column; - justify-content: center; + } a { @@ -131,7 +129,6 @@ body { body { -ms-overflow-style: none; /* for Internet Explorer, Edge */ scrollbar-width: none; /* for Firefox */ - overflow-y: scroll; } body::-webkit-scrollbar { display: none; /* for Chrome, Safari, and Opera */ diff --git a/src/components/Main.tsx b/src/components/Main.tsx index ecc8bd5..5284bb7 100644 --- a/src/components/Main.tsx +++ b/src/components/Main.tsx @@ -40,29 +40,30 @@ export default function Main() { return ( <> - - - - - {isLoading ? : null} - - + - - - + + + {isLoading ? : null} + + + + + + > ); } diff --git a/src/components/TranslationDirection.tsx b/src/components/TranslationDirection.tsx index 4a35cd0..dcaed9f 100644 --- a/src/components/TranslationDirection.tsx +++ b/src/components/TranslationDirection.tsx @@ -14,7 +14,7 @@ export function TitleAndDirection({ isTranslations, }: TranslationDirectionProps) { return ( - + {isFr ? ( @@ -22,7 +22,7 @@ export function TitleAndDirection({ className={`grid gap-2 grid-cols-3 ${ isTranslations ? "w-[80%] md:w-[30%]" - : "w-[40%] md:w-[20%] sm:w-[30%] " + : "w-[60%] md:w-[20%] sm:w-[30%] " } place-items-center `} > setIsFR(!isFr)}> @@ -40,7 +40,7 @@ export function TitleAndDirection({ className={`grid gap-2 grid-cols-3 ${ isTranslations ? "w-[80%] md:w-[30%]" - : "w-[40%] md:w-[20%] sm:w-[30%] " + : "w-[60%] md:w-[20%] sm:w-[30%] " } place-items-center `} > setIsFR(!isFr)}>