-
Notifications
You must be signed in to change notification settings - Fork 133
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(website): change header logo to avoid search bar overlapping in smaller resolution #158
fix(website): change header logo to avoid search bar overlapping in smaller resolution #158
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.
Looks great! Can you change the breakpoint from 480px to 500px and add the alt text from the issue to the image?
Set the Alt text to "Return to docs.accordproject.org homepage"
@Michael-Grover Sure, I'll change the breakpoint but adding the alt text will again cause the overlapping issue as visible below. I believe the default alt text "Accord Project" should be fine here. What's your take on it? |
@shahsank3t sorry for the confusion, when I wrote "alt text" I meant alternative text for visually impaired people using screen readers |
@Michael-Grover Oh, I see. |
Ideally this alt text should be for both the smaller and larger logo, because both have the function described in the alt text. So both should have identical alt text. Neither need to say "Accord Project" before "Return to docs.accordproject.org" |
@Michael-Grover @jeromesimeon If there's a plan to update Docusaurus version to the latest one, they have added supported to add custom alt text (Ref: https://github.com/facebook/docusaurus/blob/master/website/docusaurus.config.js#L61-L64) Just a heads-up, if we decide upon updating the library, there will be plenty of changes in existing siteConfig.js to catch up with the latest ones. :) |
…maller resolution Signed-off-by: Sanket Shah <[email protected]>
@Michael-Grover meanwhile I have pushed the change to set the breakpoint to 500px. |
Looks great on my phone, @shahsank3t ! |
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.
Great fix. Thanks!
Thanks a lot for the detailed review on that. Would you feel like opening an issue about this? (I have some questions about the |
@shahsank3t thank you for helping with this issue. I've logged your contribution for Hacktoberfest 👍 |
@Michael-Grover @jeromesimeon - My pleasure guys. Got to learn new stuff like Docusaurus today while fixing this issue. BTW, filed another issue to discuss updating the Docusaurus - #160 |
Signed-off-by: Sanket Shah [email protected]
Issue #153
Replacing the image (logo + text) to a smaller imager (logo) when the resolution is less than or equal to 480px
Screenshot