Skip to content

Load landing icon size overrides via Book theme custom.scss#43

Merged
Sendipad merged 3 commits into
docsfrom
codex/investigate-blank-page-issue-on-build-cctplk
Feb 24, 2026
Merged

Load landing icon size overrides via Book theme custom.scss#43
Sendipad merged 3 commits into
docsfrom
codex/investigate-blank-page-issue-on-build-cctplk

Conversation

@Sendipad

Copy link
Copy Markdown
Owner

Motivation

  • Homepage SVG icons were rendering oversized because the Book theme compiles its SCSS bundle and previously-applied static CSS rules were not guaranteed to be included in the final theme stylesheet.
  • The Book theme exposes a custom import point in themes/book/assets/book.scss, which is the correct extension spot to ensure style overrides are compiled into the active theme CSS.

Description

  • Added assets/custom.scss to constrain .feature-icon, .doctype-icon, .usecase-icon and their nested svg sizes so landing icons have a fixed maximum visual size.
  • Kept selectors narrow and theme-friendly so the rules are included when the Book theme SCSS pipeline runs (the theme already imports custom).
  • No changes were made to markup or icon SVGs; only styling is adjusted to fix visual sizing.

Testing

  • Confirmed themes/book/assets/book.scss imports custom so assets/custom.scss will be compiled into the theme CSS (inspection succeeded).
  • Verified the new selectors exist in assets/custom.scss using rg and file listing (succeeded).
  • Captured a live-page screenshot of https://sendipad.github.io/uph/ using Playwright to validate visual appearance after the change (script ran and saved a screenshot successfully).

Codex Task

@Sendipad Sendipad merged commit a2e68be into docs Feb 24, 2026
1 check passed
@Sendipad Sendipad deleted the codex/investigate-blank-page-issue-on-build-cctplk branch February 24, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant