Skip to content

Commit 4b4dc44

Browse files
authored
Make the banner fixed (#510)
1 parent 0c11f7b commit 4b4dc44

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/layout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ export default function RootLayout({
4040
<body>
4141
<a
4242
href="https://europython.eu/"
43-
className="text-center block p-2 bg-secondary text-white font-bold"
43+
className="text-center px-2 bg-secondary text-white font-bold fixed top-0 w-full h-[40px] z-50 flex items-center justify-center"
4444
>
4545
This is the website for an older EuroPython. Looking for the latest
4646
EuroPython? Click here!
4747
</a>
48-
{children}
48+
49+
<div className="">{children}</div>
4950
</body>
5051
</html>
5152
);

0 commit comments

Comments
 (0)