Skip to content

Commit be10775

Browse files
committed
Fix layout
1 parent d987628 commit be10775

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function RootLayout({
6464
return (
6565
<html lang="en" suppressHydrationWarning dir="rtl">
6666
<body
67-
className={`relative ${fredoka.className} flex select-none flex-col bg-gray-100 max-w-[500px] mx-auto ring-1 ring-gray-400`}
67+
className={`${fredoka.className} flex select-none flex-col bg-gray-100 max-w-[500px] mx-auto`}
6868
>
6969
<ThemeProvider attribute="class">
7070
<ConvexClientProvider>

components/AppFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const AppFooter = () => {
3737
const pathname = usePathname();
3838

3939
return (
40-
<footer className="gap-3 absolute left-0 bottom-0 z-40 flex h-16 w-full items-center justify-evenly bg-pink-600 shadow text-white">
40+
<footer className="gap-3 fixed left-auto bottom-0 z-40 flex h-16 max-w-[500px] w-full items-center justify-evenly bg-pink-600 shadow text-white">
4141
<MenuItem
4242
title="דף הבית"
4343
link="/"

components/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Image from "next/image";
1212
export const Header = () => {
1313
return (
1414
<header
15-
className="absolute left-0 top-0 z-40 flex h-20 w-full items-center justify-between px-2 text-white shadow"
15+
className="fixed left-auto top-0 z-40 flex h-20 max-w-[500px] w-full items-center justify-between px-2 text-white shadow"
1616
style={{
1717
backgroundImage:
1818
"url(data:image/gif;base64,R0lGODdhWAICAMIFAM0Mg9ojd+g3bPNKYP9cWv///////////ywAAAAAWAICAAADVwi63P4wykmrvSHrzbv/YCiOZGkKaKqubOu+cCzPdD3ceK7vfO//wKBwSCQYj8ikcslsOp/QqHR6qVqv2CzGxO16v+BSbUwum882onrNbruH07h8Tq9PEwA7)",

public/sw.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)