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

Fix footer position #727

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Fix footer position #727

merged 1 commit into from
Jun 20, 2024

Conversation

federicobucchi
Copy link
Contributor

Motivation:

When the content is the page is short, the footer aligns in too high.

Modifications:

Added style changes in _screen.scss

Result:

Before

Screenshot 2024-06-17 at 10 36 29 AM

After

Screenshot 2024-06-17 at 10 36 04 AM

@federicobucchi
Copy link
Contributor Author

@swift-ci please test

Copy link
Member

@alexandersandberg alexandersandberg left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good! Tested on mobile as well.

The only thing I noticed is that you will always have a scrolling page on mobile (at least in Safari) due to the vh unit, even if the content doesn't expand outside the viewport. However, this is not an issue as (1) we don't have any pages that have this little content and (2) it's still better than having the footer float in the middle of the page. Just wanted to mention it anyway.

ScreenRecording_06-20-2024.08-02-00_1.MP4

@federicobucchi federicobucchi merged commit 5c8e825 into main Jun 20, 2024
1 check passed
@federicobucchi federicobucchi deleted the fb/fix-footer branch June 20, 2024 17:45
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.

None yet

3 participants