Raathigesh / majestic

⚡ Zero config GUI for Jest
MIT License
7.49k stars 173 forks source link

fix(pane2): incorrect max width overflows the browser size #137

Closed briwa closed 5 years ago

briwa commented 5 years ago

This is just just a minor thing I noticed. When resizing the pane to the left, exceeding the first pane's minimum width, the second pane's width keeps increasing, eventually overflows the browser viewport. See the gif for details:

May-05-2019 16-15-26

I think both of the panes need to fill up the viewport responsively (since there is no horizontal scrollbar as well). So, my idea is that the second pane should not exceed 100% - 300px in width, since the first pane has a minimum width of 300px.

Let me know what you think! Thank you.

Raathigesh commented 5 years ago

Perfect. Thanks for contributing 👍