Skip to content

Remove some gallery-specific styling from section link - #16324

Merged
SiAdcock merged 2 commits into
mainfrom
sa-gallery-section-linlk
Jul 7, 2026
Merged

SiAdcock merged 2 commits into
mainfrom
sa-gallery-section-linlk

Conversation

@SiAdcock

@SiAdcock SiAdcock commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

What does this change?

Removes some gallery-specific styling from the section link, bringing it into line with other content types. Ostensibly we want the background of the section link to only appear behind the text, not to take up the full width of the header.

Why?

The gallery-specific styles were introduced when gallery series were migrated to DCAR in #14060. It's possible we didn't test with long series titles (example).

Alternative to #16315

Screenshots

Mobile

Before After
before-mobile after-mobile

Tablet

Before After
before-tablet after-tablet

Desktop

Before After
before-desktop after-desktop

@SiAdcock
SiAdcock requested a review from a team as a code owner July 3, 2026 15:52
@SiAdcock SiAdcock added the fix Departmental tracking: fix label Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

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.

@SiAdcock SiAdcock added the run_chromatic Runs chromatic when label is applied label Jul 3, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 3, 2026
@SiAdcock
SiAdcock force-pushed the sa-gallery-section-linlk branch from d949d35 to c0d0e21 Compare July 6, 2026 15:43
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

@SiAdcock SiAdcock added the run_chromatic Runs chromatic when label is applied label Jul 6, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 6, 2026
@SiAdcock SiAdcock added the run_chromatic Runs chromatic when label is applied label Jul 7, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 7, 2026
@SiAdcock
SiAdcock force-pushed the sa-gallery-section-linlk branch from 038156a to 02fcdb6 Compare July 7, 2026 07:07
@marjisound marjisound added the run_chromatic Runs chromatic when label is applied label Jul 7, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 7, 2026
@SiAdcock SiAdcock added the run_chromatic Runs chromatic when label is applied label Jul 7, 2026

@marjisound marjisound 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.

Thanks for looking into this 🙏 looks good to me

@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 7, 2026
@SiAdcock
SiAdcock force-pushed the sa-gallery-section-linlk branch from 02fcdb6 to 386d79a Compare July 7, 2026 09:55
@SiAdcock SiAdcock added the run_chromatic Runs chromatic when label is applied label Jul 7, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label Jul 7, 2026
@SiAdcock
SiAdcock merged commit 02a0ba8 into main Jul 7, 2026
30 checks passed
@SiAdcock
SiAdcock deleted the sa-gallery-section-linlk branch July 7, 2026 12:56
@gu-prout

gu-prout Bot commented Jul 7, 2026

Copy link
Copy Markdown

Seen on PROD (merged by @SiAdcock 10 minutes and 21 seconds ago) Please check your changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Departmental tracking: fix Seen-on-PROD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants