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

Expanding the .pagewarp | calc in the .page-warp ignores Footer | height: calc(100vh - 10px); #1

Open
BoQsc opened this issue Sep 9, 2021 · 2 comments

Comments

@BoQsc
Copy link
Contributor

BoQsc commented Sep 9, 2021

https://github.com/vaido-world/Public-Domain-Web-Design/blob/main/index.css#L81

2021-09-09.14-26-08.mp4
@BoQsc
Copy link
Contributor Author

BoQsc commented Sep 9, 2021

One way to resolve this is add the max-height @media rule

@media (max-width: 600px), (max-height: 400px) {

@media (max-width: 600px) {

https://github.com/vaido-world/Public-Domain-Web-Design/blob/main/index.css#L92

@BoQsc BoQsc changed the title calc in the .page-warp ignores Footer | height: calc(100vh - 10px); Expanding the .pagewarp | calc in the .page-warp ignores Footer | height: calc(100vh - 10px); Sep 9, 2021
@BoQsc
Copy link
Contributor Author

BoQsc commented Sep 9, 2021

the gird is .page-wrap, height of the grid is set by calc. height is equal to viewport and not the content, therefore the content is overflowing.
The gird is of the size of viewport and not the size of the content.

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

No branches or pull requests

1 participant