Simplemde-markdown-editor: Is it required to set `box-sizing: border-box;` to `body`?

Created on 30 Dec 2016  路  1Comment  路  Source: sparksuite/simplemde-markdown-editor

If I didn't set box-sizing: border-box to body, the side-by-side view might has some small issue:

image

The width: 50% for .CodeMirror-sided and .editor-preview-side didn't get the correct width.
It may cause some text rendered outside of it's container.

Considering add a wrapper to .CodeMirror-sided and .editor-preview-side and set box-sizing: border-box to it?

bug

Most helpful comment

I'll look into this...

>All comments

I'll look into this...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

prologic picture prologic  路  3Comments

ferreiro picture ferreiro  路  4Comments

rodsimpson picture rodsimpson  路  3Comments

slince picture slince  路  4Comments

IonicaBizau picture IonicaBizau  路  3Comments