Skip to content

fix playground layout#66

Merged
cowboyd merged 1 commit intomainfrom
cl/fix-playground-layout
Jan 24, 2023
Merged

fix playground layout#66
cowboyd merged 1 commit intomainfrom
cl/fix-playground-layout

Conversation

@cowboyd
Copy link
Copy Markdown
Member

@cowboyd cowboyd commented Jan 24, 2023

Motivation

The playground does not have any implicit height because it is set by the monaco editor. As a result, it is squnched between the header and footer.

Approach

This adds the "flex-grow: 1" property to make it expand to fill up all the room left over in the middle of the flex box. That way, it will always fill the space between the header and the footer.

Screenshots

2023-01-24 12 26 59

The playground does not have any implicit height because it is set by
the monaco editor.

This adds the "flex-grow: 1" property to make it expand to fill up all
the room left over in the middle of the flex box. That way, it will
always fill the space between the header and the footer.
@cowboyd cowboyd requested a review from jbolda January 24, 2023 19:43
@cowboyd cowboyd merged commit 63b63f9 into main Jan 24, 2023
@cowboyd cowboyd deleted the cl/fix-playground-layout branch January 24, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants