Skip to content

feat: update header spacing#1070

Merged
perber merged 2 commits into
mainfrom
feat/update-header-spacing
May 29, 2026
Merged

feat: update header spacing#1070
perber merged 2 commits into
mainfrom
feat/update-header-spacing

Conversation

@perber
Copy link
Copy Markdown
Owner

@perber perber commented May 29, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 29, 2026 17:03
@perber perber linked an issue May 29, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts markdown preview layout and prose spacing in the LeafWiki UI, mainly to make headings and surrounding content spacing more consistent across viewer, editor preview, and history preview surfaces.

Changes:

  • Widens the page viewer content container from max-w-4xl to max-w-5xl.
  • Adds shared heading, paragraph, list, and list-item spacing rules for markdown preview surfaces.
  • Moves code block vertical spacing from the inner <pre> to the .markdown-code-block wrapper.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
ui/leafwiki-ui/src/index.css Updates viewer width and adds shared prose spacing rules for markdown preview surfaces.
ui/leafwiki-ui/src/features/preview/markdownPreviewCodeTheme.css Moves code block block-level spacing to the wrapper and resets inner <pre> margins.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ui/leafwiki-ui/src/features/preview/markdownPreviewCodeTheme.css Outdated
@perber perber merged commit c4e11e8 into main May 29, 2026
7 of 8 checks passed
@perber perber deleted the feat/update-header-spacing branch May 29, 2026 17:09
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.

Header Spacing

2 participants