Skip to content

Conversation

@Jeromestein
Copy link

…template

What?

Fix mobile header sheet layout in the ecommerce template so the auth buttons no longer overflow the drawer on narrow screens.

Why?

The login/create-account buttons were rendered in a horizontal flex row while each button had w-full. In a narrow sheet (w-3/4 + padding), the row could not shrink both full‑width buttons, causing horizontal overflow and one button to appear outside the sheet.

How?

  • Updated the auth button container to use a column layout on small screens.
  • Keep the row layout from sm and up.
  • Use sm:flex-1 so both buttons share available width at larger sizes.
  • Adjusted the “or” label style to align with the new responsive layout.

Fixes #15019

Before

image

After

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant