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

add top and bottom padding to centered layout #677

Merged
merged 1 commit into from
May 7, 2019
Merged

add top and bottom padding to centered layout #677

merged 1 commit into from
May 7, 2019

Conversation

PhilippGrashoff
Copy link
Collaborator

Centered layout didnt have any top and bottom padding/margin. On pages that exceeded browsers inner height, that looked quite crappy.

Maybe theres a nicer way using some predefined FUI class?

@romaninsh
Copy link
Member

romaninsh commented Mar 20, 2019

please include screenshots of before/after.

@romaninsh romaninsh self-requested a review March 20, 2019 19:36
@PhilippGrashoff
Copy link
Collaborator Author

Hi,

this is what centered looks like without top&bottom padding/margin. The Heading starts at the very top of the browser window. I resized the window so there's just no scrollbar yet:
centerednopadding

With some top&bottom padding/margin theres always some space to to the browser window, see screenshot. Again I resized the browser window so there's just no scrollbar yet:
centeredwithpadding

Copy link
Member

@romaninsh romaninsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, thanks looks good!

@romaninsh romaninsh merged commit d75e2bf into atk4:develop May 7, 2019
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