Skip to content

Commit a08e1fd

Browse files
authored
Fixes for banner on beta (#4435)
1 parent d90fd21 commit a08e1fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

beta/src/components/Layout/Page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function Page({routeTree, children}: PageProps) {
2828

2929
<div className="flex flex-1 w-full h-full self-stretch">
3030
<div className="w-full min-w-0">
31-
<main className="flex flex-1 self-stretch flex-col items-end justify-around">
31+
<main className="flex flex-1 self-stretch mt-10 flex-col items-end justify-around">
3232
{children}
3333
<Footer />
3434
</main>

beta/src/components/Layout/Toc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function Toc({
1919
return (
2020
<nav
2121
role="navigation"
22-
className="pt-6 fixed top-0 right-0"
22+
className="pt-6 fixed top-10 right-0"
2323
style={{
2424
// This keeps the layout fixed width instead of adjusting for content.
2525
width: 'inherit',

beta/src/components/SocialBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const bannerLinkText = 'Help Provide Humanitarian Aid to Ukraine.';
1414

1515
export default function SocialBanner() {
1616
return (
17-
<div className="w-full bg-gray-100 dark:bg-gray-700 sticky py-2 h-16 sm:h-10 sm:py-0 flex items-center justify-center flex-col sm:flex-row">
17+
<div className="w-full bg-gray-100 dark:bg-gray-700 fixed py-2 h-16 sm:h-10 sm:py-0 flex items-center justify-center flex-col sm:flex-row z-50">
1818
{bannerText}
1919
<ExternalLink
2020
className="ml-0 sm:ml-1 text-link dark:text-link-dark hover:underline"

0 commit comments

Comments
 (0)