Skip to content

Conversation

@johanneswilm
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 26, 2026 18:09
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1061dc4c63

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +2039 to +2043
// Apply border padding to fragment after removing indent padding
// This padding creates space for borders and prevents them from overlapping content
const borders = block.attrs?.borders;
if (borders) {
if (borders.top) {

Choose a reason for hiding this comment

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

P2 Badge Account for border padding in layout sizing

The new fragment-level padding reserves space for borders, but the layout engine still measures line widths/heights using the original fragment size. Because fragments are absolutely positioned, this shrinks the usable content box without reflowing lines, so paragraphs with border spacing and lines near full width (especially justified lines) can render into the right border/space, and top/bottom padding can push text beyond the measured height, overlapping the next fragment. Consider incorporating border space into measurement or adjusting line widths/positions when this padding is applied.

Useful? React with 👍 / 👎.

Copy link
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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.

1 participant