Skip to content

lightning add spacing between numeric and units#993

Merged
accius merged 1 commit into
accius:Stagingfrom
MichaelWheeley:issue992_lightning_strikes_formatting
May 19, 2026
Merged

lightning add spacing between numeric and units#993
accius merged 1 commit into
accius:Stagingfrom
MichaelWheeley:issue992_lightning_strikes_formatting

Conversation

@MichaelWheeley
Copy link
Copy Markdown
Contributor

What does this PR do?

Type of change

style

Checklist

  • App loads without console errors
  • Tested in Dark, Light, and Retro themes
  • Responsive at different screen sizes (desktop + mobile)
  • If touching server.js: caches have TTLs and size caps (we serve 2,000+ concurrent users)
  • If adding an API route: includes caching and error handling
  • If adding a panel: wired into Modern, Classic, and Dockable layouts
  • No hardcoded colors — uses CSS variables (var(--accent-cyan), etc.)
  • No .bak, .old, console.log debug lines, or test scripts included

Screenshots (if visual change)

image image

Copy link
Copy Markdown
Owner

@accius accius left a comment

Choose a reason for hiding this comment

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

Clean style fix. One small nit: in useLightning.js around the new nearbyStrikes interpolation, there's now both an explicit space (} ${distStr}) and a leading space inside distStr itself (` (${PROXIMITY_RADIUS_KM} km)`), which gives a double space in the source. HTML collapses it on render so there's no visual issue — just an FYI for next time.

Otherwise +1, ready to merge.

@accius accius merged commit e09342f into accius:Staging May 19, 2026
5 checks passed
@MichaelWheeley MichaelWheeley deleted the issue992_lightning_strikes_formatting branch May 19, 2026 02:00
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