Skip to content

Prevent Studio hero mock buttons from overflowing on mobile - #138

Merged
piaskowyk merged 1 commit into
mainfrom
copilot/fix-mobile-button-layout
Jul 29, 2026
Merged

Prevent Studio hero mock buttons from overflowing on mobile#138
piaskowyk merged 1 commit into
mainfrom
copilot/fix-mobile-button-layout

Conversation

Copilot AI commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

On narrow screens, the emoji buttons inside the Studio landing page window mock could exceed the card bounds instead of shrinking with the grid. This update tightens grid sizing behavior so tiles stay contained within the mock frame.

  • Responsive grid track sizing

    • Updated the emoji tile grid to use shrinkable tracks (minmax(0, 1fr)) so each column can contract without forcing overflow.
  • Tile box model constraints

    • Applied box-sizing: border-box and min-width: 0 to emoji tiles to ensure borders and intrinsic sizing do not push tiles past container width.
.emojiRow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.emojiTile {
  box-sizing: border-box;
  min-width: 0;
}

@piaskowyk
piaskowyk marked this pull request as ready for review July 29, 2026 14:10
@piaskowyk
piaskowyk merged commit 7ad4593 into main Jul 29, 2026
1 check passed
@piaskowyk
piaskowyk deleted the copilot/fix-mobile-button-layout branch July 29, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants