outline / rich-markdown-editor

The open source React and Prosemirror based markdown editor that powers Outline. Want to try it out? Create an account:
https://www.getoutline.com
BSD 3-Clause "New" or "Revised" License
2.87k stars 590 forks source link

Content of an info notice spills outside container when content includes a code snippet #584

Closed raldred closed 2 years ago

raldred commented 2 years ago

Small rendering issue where adding a code snippet inside a notice causes the content to spill outside the notice container

To Reproduce Steps to reproduce the behavior:

  1. Create an info notice with some content that would wrap
  2. Write a code snippet inside
  3. See content of notice spilling outside the container

Expected behavior Content should be contained, code snippet should probably have horizontal scroll

Version If known, what is the version of the module in use. Present in outline v0.60.0

Screenshots If applicable, add screenshots or videos to help explain your problem.

image

Desktop (please complete the following information):

tommoor commented 2 years ago

Thanks for filing, seems like it'll be an easy css fix