xhd2015 / coverage-visualizer

a highly customizable test coverage visualizer
MIT License
1 stars 0 forks source link

Monaco Editor height 100% make the editor incorrectly displayed #5

Open xhd2015 opened 2 weeks ago

xhd2015 commented 2 weeks ago

Code:

    <TextEditor style={{ height: "100%" }} value={logs} readonly />

Result:

image

Workaround:

    <TextEditor style={{ height: "400px" }} value={logs} readonly />
image