wagtail-deprecated/wagtail-react-streamfield

TextBlock is exceeding width of screen if contains too much text

MystBug opened this issue · 2 comments

class TextBlock(blocks.StructBlock):
    text = blocks.TextBlock()

    class Meta:
        template = 'pages/blocks/text.html'
        icon = 'fa-align-center'

On submitting large texts in a TextBlock, the text (input and preview) will exceed the screen width in the CMS.

screen shot 2018-10-11 at 13 28 13

screen shot 2018-10-11 at 13 28 38

screen shot 2018-10-11 at 13 28 54

Thanks for the report, @kixg!

I see, it’s an SCSS issue due to some grid issue in Wagtail itself, I’ll have to amend it to fix that issue.

Fixed by a14715f and released in 1.0.0 :)