Skip to content

fix: resolve coloring book section layout on small viewports - #622

Open
Rickydama3 wants to merge 1 commit into
containers:mainfrom
Rickydama3:fix-coloring-book-resize-557
Open

fix: resolve coloring book section layout on small viewports#622
Rickydama3 wants to merge 1 commit into
containers:mainfrom
Rickydama3:fix-coloring-book-resize-557

Conversation

@Rickydama3

Copy link
Copy Markdown

Concisely describe the change

This PR fixes a responsive layout bug where the Coloring Book section would break and disappear on viewports smaller than lg.

The issue was caused by conflicting Tailwind utility classes:

  • The cover image had a hidden lg:block class causing it to vanish completely on small screens.
  • The flex layout lacked the base flex class.
  • The flex ordering pushed the collage above the text on small screens.

This update removes the hidden attribute, applies the correct base flex class, adjusts the order logic for a clean vertical stack on mobile, and adds proper margins to prevent overlapping.

Fixes #557

image

N/A - See Issue #557 for original bug recording.

image

Checklist

Ensure you have completed the following checklist for your pull request to be reviewed:

  • Certify you wrote the patch or otherwise have the right to pass it on as an open-source patch by signing all commits. ('git commit -s').
  • Referenced issues using 'Fixes: #00000' in commit message (if applicable)
  • PR description, commit message, and GitHub comments are human-written, per [LLM Policy]

Signed-off-by: Ricky Dama <rickydama2006@gmail.com>
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.

Coloring Book section disappears from the viewport after resizing the browser window

1 participant