Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluid layout #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fluid layout #19

wants to merge 1 commit into from

Conversation

p01
Copy link

@p01 p01 commented Nov 3, 2020

Use 90% height on the HTML element to make the BODY float a little at the top
76vmin BODY height = 64 of canvas, 4 of margin + 4 * 2 of labels and input

Combined with the PR setting the Canvas' width and height according to the DPR, this should give a sleek layout at all resolutions

Use 90% height on the HTML element to make the BODY float a little at the top
76vmin BODY height = 64 of canvas, 4 of margin + 4 * 2 of labels and input

Combined with the PR setting the Canvas' width and height according to the DPR, this should give a sleek layout at all resolutions
@p01 p01 mentioned this pull request Nov 3, 2020
@aemkei
Copy link
Owner

aemkei commented Nov 3, 2020

Sounds good. But when merged with the HDPI branch, it looks like this in Chrome / Mac OS on a MBP:

image

@aemkei
Copy link
Owner

aemkei commented Nov 3, 2020

PS: I've also merged the HDPI branch into main.

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