PMunch / nim-playground-frontend

The front-end for https://play.nim-lang.org
45 stars 16 forks source link

Different column layout to fix double scrollbars #24

Closed madprops closed 2 years ago

madprops commented 2 years ago

Removed the bottom items from smallColumn and moved them so they're in the same margin as the editor.

Gave the editor a fixed height that is calculated and stored in 2 variables.

One is for #editor the other is for CodeMirror which is a bit smaller.

Gave the output a height, and made it flex-grow:1 so it fills to the bottom.

Removed the padding from the output's

 and turned it into a margin.

PMunch commented 2 years ago

Looks good!