Skip to content

Stack the home-page animations on phones - #501

Merged
basnijholt merged 1 commit into
mainfrom
docs/mobile-gifs
Oct 15, 2026
Merged

basnijholt merged 1 commit into
mainfrom
docs/mobile-gifs

Conversation

@basnijholt

Copy link
Copy Markdown
Member

Description

On phones, the three animations on the docs home page were shown side by side at 43%, 36%, and 19% of the screen width, which made them too small to read. Below 45em (Zensical's phone breakpoint), they are now stacked at full width. The desktop layout is unchanged.

Checked in headless Chromium: at 390 px wide each GIF is 343 px wide and they sit below each other; at 1400 px they stay in one row.

This only affects the docs; the README on GitHub cannot use custom CSS.

Checklist

  • Fixed style issues using pre-commit run on the changed file
  • pytest passed (CSS-only change; zensical build --strict reports no issues)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • (Code) style fix or documentation update
  • This change requires a documentation update

Side by side at 43%/36%/19% of a phone's width, the GIFs were too small to
read. Below 45em, show them below each other at full width.
@basnijholt
basnijholt merged commit e74ac3b into main Oct 15, 2026
17 of 19 checks passed
@basnijholt
basnijholt deleted the docs/mobile-gifs branch October 15, 2026 06:52
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.

1 participant