Closed
Description
Describe the bug
In the widget documentation, the pattern
option's sample code is appearing all on one line and thus getting cut off by the container boundaries.
This means the sample regex pattern and the form validation error text aren't visible, making it difficult to figure out the syntax.
To Reproduce
- Go to the widget docs page
- Scroll down to 'Common Widget Options" ->
pattern
- See the example code block beneath it.
Expected behavior
For the code sample to be formatted in a readable way so that I can understand the syntax.
Applicable Versions:
- OS: Mac OS 11.6 (Big Sur)
- Browser version: Chrome 95.0.4638.54
Additional context
Entering bug pursuant to conversation with @erezrokah on NetlifyCMS Slack.
https://netlifycms.slack.com/archives/CPMJH823F/p1634738865063000