reuters-graphics/graphics-svelte-components

Title, chatter, notes & source alignment on ai2svelte

Closed this issue · 1 comments

Ze problem:

Currently setting a graphic to wide/wider/widest breaks the text well for both the graphic AND any text that accompanies it.

For example:

image

And in worse cases, can lead to widowed bits of info like this:

image

Ze solucion

EMEA is proposing that these text elements -- title, chatter, notes & source -- should be bounded by our usual text well by default, regardless of how wide the graphic element is outside that well.

I'll push a PR that accomplishes that, but opening this ticket for wider discussion.

PR above includes fix, which adds a demo to the component page so you can get a looksie of how this will behave:

image