IA toolbar overflows/wraps on mobile
Problem
Reproducing the bug
- Go to any page on a small screen
- Expected behavior: The IA bar should not wrap
- Actual behavior: It wraps!
Context
- Browser (Chrome, Safari, Firefox, etc): FF
- OS (Windows, Mac, etc): Win
- Logged in (Y/N): Y
- Environment (prod, dev, local): prod
Breakdown
Requirements Checklist
- [ ]
Related files
*
Stakeholders
*
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.
hey @cdrini can you specify the issue more specifically so that i can work on it :)
hey @cdrini can you specify the issue more specifically so that i can work on it :)
any updates regarding this ?
I believe what is being requested is that the Internet Archive Bar is not scaling with the screen size. The desired effect is to be able to see all the objects in the bar without distortion.
Hello, we are a group of university students, and as part of our project, we are contributing to open-source repositories. We would really like to work on this issue, and since our project deadline is approaching, we are eager to get started as soon as possible. Could we please be assigned to this issue? We’ll make sure to follow all contributing guidelines and complete the work on time. Thank you for considering us!
@ronibhakta1 we're asking for a proposal of the top Internet Archive bar on mobile
Recently we added the language name to the dropdown which is making the contents of the bar overflow.
The first step is to propose a few designs that we can consider as solutions.
One design may be to make the font smaller (proportionate) so everything fits. Another option may be that the language dropdown gets truncated for mobile. If you can think of other solutions, please include them! Thank you for the help.
@ronibhakta1 we're asking for a proposal of the top Internet Archive bar on mobile
Recently we added the language name to the dropdown which is making the contents of the bar overflow.
The first step is to propose a few designs that we can consider as solutions.
One design may be to make the font smaller (proportionate) so everything fits. Another option may be that the language dropdown gets truncated for mobile. If you can think of other solutions, please include them! Thank you for the help.
@mekarpeles So there were three issues which i countered
- The top IA nav bar over lapping
- Contents text where not inside the box, there was a over flow in it, you can have a look at it in the first pic.
- oversized icon inside the language selection dropdown in second pic
language dropdown icon
solved the content info fix here and fixed the design for IA nav bar which looks better here.
This is the final website preview on desktop after the changes in the mobile preview
This issue is specifically for the IA top-bar as @Zebtha has said.
If we add a class to both the language selector and the donate button of e.g. iabar-mobile and create a mobile breakpoint where the font-size of these components becomes .9em and the padding of the ghost-button becomes padding: 5px 7px; we get our desired effect on mobile
@raissg + team, would you like to give this a try and we can provide feedback on the PR?
Bump on this one; note this is what the site looks like if you have font-scaling enabled for your browser+mobile as well, so it's an accessibility issue.
