Skip to content

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Dec 7, 2025

  • By setting width to 100%, it ensures the source code container takes up
    the full width of its parent container.
  • By setting box-sizing to border-box, it ensures when the source code block
    expands, it doesn't overflow the container.
  • By limiting the method header's width, it ensures that the source code toggle
    doesn't get pushed down to a weird position.

@st0012 st0012 added the bug label Dec 7, 2025
@matzbot
Copy link
Collaborator

matzbot commented Dec 7, 2025

🚀 Preview deployment available at: https://83ed6377.rdoc-6cd.pages.dev (commit: f02fa0b)

@st0012 st0012 marked this pull request as draft December 7, 2025 11:37
@st0012 st0012 force-pushed the fix-source-code-styling-issues branch 2 times, most recently from f428f0b to 215704c Compare December 7, 2025 11:58
@st0012 st0012 marked this pull request as ready for review December 7, 2025 12:02
- By setting width to 100%, it ensures the source code container takes up
  the full width of its parent container.
- By setting box-sizing to border-box, it ensures when the source code block
  expands, it doesn't overflow the container.
- By limiting the method header's width, it ensures that the source code toggle
  doesn't get pushed down to a weird position.
@st0012 st0012 force-pushed the fix-source-code-styling-issues branch from 215704c to f02fa0b Compare December 7, 2025 15:55
@st0012 st0012 merged commit e70854b into master Dec 7, 2025
62 checks passed
@st0012 st0012 deleted the fix-source-code-styling-issues branch December 7, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants