-
Notifications
You must be signed in to change notification settings - Fork 151
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
Footer: prevent footer overflow on short pages #2184
base: master
Are you sure you want to change the base?
Conversation
Thank you for the fix, looks good to me! |
03d38d3
to
dce2027
Compare
Rebased against master. |
This PR was automatically marked as stale. |
@@ -36,6 +36,7 @@ | |||
.row.footer-bottom, .sub-footer { | |||
background-color: @footerDarkColor; | |||
box-shadow: 0 2px 5px rgba(0, 0, 0, .2) inset; | |||
padding-bottom: 1rem 0 1rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you mean:
padding-bottom: 1rem 0 1rem; | |
padding-bottom: @defaultPaddding; |
the attribute with specific direction (-bottom, -top, etc) usually takes only one value, unless the notation changed recently and I am not aware, please correct me :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(accepted your change below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about this one? it still has 3 values and I am not sure I understand what is it supposed to do, sorry for silly questions if it is obvious!
invenio_app_rdm/theme/assets/semantic-ui/less/invenio_app_rdm/theme/globals/site.overrides
Outdated
Show resolved
Hide resolved
Co-authored-by: Karolina <[email protected]>
❤️ Thank you for your contribution!
Description
Add padding to .footer-bottom to prevent footer from overflowing. Closes #2183.
Before:
After:
Checklist
Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:
Third-party code
If you've added third-party code (copy/pasted or new dependencies), please reach out to an architect.
Reminder
By using GitHub, you have already agreed to the GitHub’s Terms of Service including that: