Skip to content

fix(event-page): stop meta icons shrinking when text wraps - #512

Merged
harshtandiya merged 2 commits into
developfrom
claude/magical-hamilton-s2r8rv
Sep 30, 2026
Merged

harshtandiya merged 2 commits into
developfrom
claude/magical-hamilton-s2r8rv

Conversation

@harshtandiya

@harshtandiya harshtandiya commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

What changed

On the public event page (buzz/www/event/index.html), each date/time/venue row is an inline-flex .meta-item, with an SVG .icon next to the text. When the text wraps (for example, a long venue address on mobile), flexbox shrinks the SVG below its 16px size, so the pin icon looks squashed. This adds flex-shrink: 0 to .icon in buzz/public/themes/base.css so icons keep their size.

Demo

I rendered the real base.css with the event page's meta markup at a 375px viewport in Chromium. The icon sizes were measured with getBoundingClientRect:

  • Before: 16x16 16x16 10.27x16. The pin icon is squashed to about 10px wide.
  • After: 16x16 16x16 16x16.

Testing

  • Reproduced the bug and checked the fix with the headless Chromium render described above.
  • No Frappe site was available in this environment, so I haven't tested it on a live site.

The event page meta rows are inline-flex, so a venue name that wraps on
mobile squeezed its SVG icon below 16px. Keep .icon at its set size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011DBQiA4CmwucXykEE12LiY

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@harshtandiya
harshtandiya merged commit d4afa22 into develop Sep 30, 2026
8 checks passed
@harshtandiya
harshtandiya deleted the claude/magical-hamilton-s2r8rv branch September 30, 2026 21:20

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

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