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

[BUG] Term of service page is truncated #1453

Closed
gustavi opened this issue Feb 2, 2023 · 3 comments
Closed

[BUG] Term of service page is truncated #1453

gustavi opened this issue Feb 2, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@gustavi
Copy link

gustavi commented Feb 2, 2023

Describe the bug

The top of the page https://preview.tabler.io/terms-of-service.html on beta17 (I'm note sure is was working as expected in beta16) is truncated.

Device

  • Browser: Firefox 102.7.0esr (64-bit)
  • OS: GNU/Linux
  • Screen size: 1920x1080

To reproduce

Steps to reproduce the behavior:

  1. Go to https://preview.tabler.io/terms-of-service.html
  2. See error

Screenshots

image

@gustavi gustavi added the bug Something isn't working label Feb 2, 2023
@tinyoverflow
Copy link
Contributor

tinyoverflow commented Feb 2, 2023

This is because the first div inside the body has the two classes .page and .page-center. The .page-class sets flex-direction: column. Therefore, the justify-content: center property set by the .page-center class now controls the vertical alignment instead. But I don't know why the content is offset only at the top.

Removing the .page-center class solves this issue for this page.

.page {
display: flex;
flex-direction: column;
position: relative;
min-height: 100%;
}
.page-center {
justify-content: center;
}

@codecalm
Copy link
Member

codecalm commented Feb 2, 2023

I've fixed it! :) thank you for help ❤️

demo: https://dev.tabler.io/terms-of-service.html

@keskinonur
Copy link

This issue is still ongoing in beta 20.

https://dev.tabler.io/terms-of-service.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants