Skip to content

Versus change number alignment - #16614

Open
JamieB-gu wants to merge 1 commit into
mainfrom
versus-change-number-alignment
Open

Versus change number alignment#16614
JamieB-gu wants to merge 1 commit into
mainfrom
versus-change-number-alignment

Conversation

@JamieB-gu

Copy link
Copy Markdown
Contributor

At the moment, in the Versus component, if there is a change number it always appears below the main value number. This alters that behaviour, so that this is now only the case when there are images in the Versus component. If there aren't images, the change number moves alongside the value number, as there's more horizontal space available.

Screenshots

Before After
US House house-before house-after
Parliament parliament-before parliament-after

At the moment, in the `Versus` component, if there is a change number it
always appears below the main value number. This alters that behaviour,
so that this is now only the case when there are images in the `Versus`
component. If there aren't images, the change number moves alongside the
value number, as there's more horizontal space available.
@JamieB-gu JamieB-gu added the feature Departmental tracking: work on a new feature label Aug 26, 2026
@github-actions

Copy link
Copy Markdown

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@JamieB-gu JamieB-gu added the run_chromatic Runs chromatic when label is applied label Aug 26, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant