-
Notifications
You must be signed in to change notification settings - Fork 90
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: Ensure Footer Visibility on Smaller Screens #489
Conversation
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.
Unfortunately, this is exceptionally noisy UI for a mobile screen and displays redundant content ("Spotted a mistake..." appears twice).
…e github version link
Hey @sushain97 thanks for the feedback. I have removed the redundant content. |
That would be necessary to have this merged. |
|
This is still far too much vertical space. Try looking at how other websites handle collapsing a footer on mobile viewports? |
https://github.com/apertium/apertium-html-tools/assets/86158204/45f451d7-6b92-4b27-9262-303be0ebb03b |
src/components/footer/index.tsx
Outdated
href="https://github.com/apertium/apertium-html-tools" | ||
rel="noreferrer" | ||
target="_blank" | ||
> | ||
<small>{version}</small> | ||
<FontAwesomeIcon icon={faCode} /> {t('github ') + version} |
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.
Why did you add "github" here & an icon? I think it was nice to have this be minimal.
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.
Sorry, removed it. Just thought it would be good to have icon.
Looks like a test needs to be updated! |
In the Footer test suite, the "opens about dialog on desktop" test was failing due to accessing an undefined element at index 1 in the buttons array. Upon investigating I found that there is only one element in the buttons array. The issue was resolved by updating the index to 0, ensuring the test clicks on the correct button. |
Pull Request Test Coverage Report for Build 8161043384Details
💛 - Coveralls |
Hey @sushain97 I am thinking of participating for apertium GSoC. Who should I contact ? Thank You |
Hi @thrishank, You can introduce yourself and share your interest about a specific project through IRC or the mailing list. If you have any questions, you can use those communication methods to ask them. Useful articles about communicating: Good Luck. |
Summary
#468 Issue
This pull request addresses an issue where the footer was not rendering on smaller screens due to the d-none class. The visibility of the footer is crucial for providing a seamless user experience across different devices.
Changes Made
Why
The d-none class was unintentionally hiding the footer on smaller screens, affecting the overall user experience. This change ensures consistent visibility across all screen sizes. The d-none class in Bootstrap is a utility class that sets an element to display: none! important;, effectively hiding it.
ScreenShots
before
After
This PR is ready for review. Your feedback is appreciated!