Skip to content

Conversation

WebsByTodd
Copy link
Collaborator

#37

Overtype bug.

Code blocks wrap instead of scroll horizontally.

Not sure if the way we fixed it is the way it should be fixed. Should probably not use a pre tag at all. But telling a pre to wrap is easier.

@WebsByTodd WebsByTodd marked this pull request as ready for review September 15, 2025 18:47
@WebsByTodd WebsByTodd requested a review from nedtwigg September 15, 2025 18:48
@nedtwigg
Copy link
Member

In the interest of long-term maintainability, what do you think about moving this change out of Overtype and into our own code? Seems like we're not fighting overtype's defaults here, just the tag's defaults.

Copy link
Member

@nedtwigg nedtwigg left a comment

Choose a reason for hiding this comment

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

see above

@WebsByTodd
Copy link
Collaborator Author

It's up to you. The code that this PR changes in "overtype" is in a style block that we added to overtype. So this isn't adding any additional friction, just piggy backing on what's already there. Plus, the bug is in overtype, so might make sense that the fix be in overtype.

@nedtwigg nedtwigg merged commit 7bd45d8 into main Sep 16, 2025
1 check passed
@nedtwigg nedtwigg deleted the fix/code-block-wrapping branch September 16, 2025 15:34
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.

2 participants