Skip to content

Remove stale summary margin override from docs pages#16208

Open
kyungilcho wants to merge 1 commit intocanonical:mainfrom
kyungilcho:fix/livepatch-docs-details-spacing
Open

Remove stale summary margin override from docs pages#16208
kyungilcho wants to merge 1 commit intocanonical:mainfrom
kyungilcho:fix/livepatch-docs-details-spacing

Conversation

@kyungilcho
Copy link
Copy Markdown

@kyungilcho kyungilcho commented Apr 3, 2026

Summary

  • remove the stale global summary margin override from styles.scss
  • stop that legacy rule from affecting livepatch docs content rendered from Discourse
image

Why

The extra spacing on the livepatch docs details/summary elements was coming from a site-wide summary { margin: ... } rule that was originally added for an older download thank-you accordion. That markup no longer uses details/summary, so the global rule is now stale and leaks into docs pages that render raw HTML from Discourse.

Testing

  • git diff --check
  • docker build --target build-css -t ubuntu-com-build-css .

Fixes #15905

@webteam-app
Copy link
Copy Markdown

kyungilcho is not a collaborator of the repo

@kyungilcho kyungilcho marked this pull request as ready for review April 3, 2026 05:52
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.

Reduce extra margins and heights assigned to the livepatch details tags

2 participants