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

Fixed hero section landscape overflow #7

Merged
merged 3 commits into from
Dec 10, 2020
Merged

Fixed hero section landscape overflow #7

merged 3 commits into from
Dec 10, 2020

Conversation

guytepper
Copy link
Contributor

The .hero-section static height made it's descendants collapse with .hero-section-seperator on small viewports (<465px).
Removing the height makes the element set it's height by the elements it contains.

I've also added padding to the separator so it'd be easy on the eyes 🤓

Before:
Screen Shot 2020-12-10 at 11 43 53

After:
Screen Shot 2020-12-10 at 11 45 20

@wargio
Copy link
Member

wargio commented Dec 10, 2020

Nice! @guytepper does this change break the desktop view?

@guytepper
Copy link
Contributor Author

Nope. Here's the desktop view:
Screen Shot 2020-12-10 at 13 35 05

Copy link
Member

@ITAYC0HEN ITAYC0HEN left a comment

Choose a reason for hiding this comment

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

Thank you, Guy<3

@ITAYC0HEN ITAYC0HEN merged commit 7d1130e into rizinorg:main Dec 10, 2020
@guytepper guytepper deleted the fix-landscape-overflow branch December 10, 2020 16:16
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.

3 participants