Skip to content

Commit e258e79

Browse files
committed
fix: banner and subnav layout
1 parent 36cc18e commit e258e79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/[locale]/resources.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const ResourcesPage = ({ txCostsMedianUsd }) => {
9595
image="/images/heroes/guides-hub-hero.jpg"
9696
/>
9797

98-
<BannerNotification shouldShow>
98+
<BannerNotification shouldShow className="text-center max-md:flex-col">
9999
{t("page-resources-banner-notification-message")}{" "}
100100
<Link
101101
href={new URL(
@@ -115,11 +115,11 @@ const ResourcesPage = ({ txCostsMedianUsd }) => {
115115
heroImg={heroImg}
116116
/>
117117

118-
<div className="sticky top-1 z-sticky my-8 flex flex-col items-center gap-3 py-4 text-center md:top-6 md:px-2">
118+
<div className="sticky top-1 my-8 flex flex-col items-center gap-3 py-4 text-center md:top-6 md:px-2">
119119
<div className="my-2 text-body-medium">
120120
{t("page-resources-whats-on-this-page")}
121121
</div>
122-
<nav className="mx-4 flex max-w-full gap-1 overflow-x-auto bg-background p-2 shadow md:max-w-[calc(100%-2rem)] md:rounded-2xl md:border md:p-0.5 md:shadow-lg">
122+
<nav className="z-sticky mx-4 flex max-w-full gap-1 overflow-x-auto bg-background p-2 shadow md:max-w-[calc(100%-2rem)] md:rounded-2xl md:border md:p-0.5 md:shadow-lg">
123123
{resourceSections.map(({ key, title, icon }) => (
124124
<ButtonLink
125125
key={key}

0 commit comments

Comments
 (0)