Skip to content

Banners include extra whitespace/newline #3065

@janbrasna

Description

@janbrasna

Describe the bug
W10 or special event banners seem badly indented — the box is taller than the content and the content is not centered, see #2822 (comment)

Preconditions
This only seems to be present in prod. The banners on stage are the expected height (and also contain appropriately less paragraph elements).

Steps to reproduce

  1. Try summoning e.g. the W10 EOS banner, no steps, it's random for me.
  2. Check its element contents. Extra empty paragraphs. Causing the unbalanced render.

Expected behavior

stage:

stage

Actual behavior

prod:

prod

Additional context

I'm not sure if this is deliberate editorial choice? Or it gets there when iterating over the banner content when emitting it? It would be easier if the empty paragraphs weren't there, but it can eventually also get circumvented if the paragraphs were using different display styling, see the devtools attempts below:

Screenshots/Screencasts

Screen.Recording.2026-05-09.at.11.18.45.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    ❓ triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions