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

Responsive optimization for site search and utility nav list (glossary/calendar) #4476

Open
5 tasks
johnnyporkchops opened this issue Mar 12, 2021 · 0 comments
Open
5 tasks

Comments

@johnnyporkchops
Copy link
Contributor

johnnyporkchops commented Mar 12, 2021

Summary

What we're after:

  • The links to Calendar and Glossary in the header should be available in mobile view.
  • The global site searchbox adjacent to these links should stay visible regardless of screen size instead of appending it to the mobile menu.
  • CSS Flexbox or Grid might be a good way to control positioning and visual stacking between desktop and mobile regardless of source-order in the html.
  • We should consider making the site search field or his whole area (utility-nav list--flat) an html partial that can be included in both Jinja and Django templates which should be possible given that they don't contain expressions specific to either template engine

Screen Shot 2021-03-11 at 10 03 51 PM

Related issues

List any relevant related issue(s)

Completion criteria

  • The site search field, the glossary link and the calendar links all persist in the header on any screen/device size and upon manually resizing the screen between desktop and mobile.
  • They are accessible

Tech steps or considerations (optional)

List any considerations the tech team should know. Additionally, any specific tech steps can be included here.

  • Consider whether making the items into a single partial include will not hinder future development given that it would not be able to contain Django-specific or Jinja-specific syntax
  • Pay attention to accessibility of these items and tabbing order
  • Should we use Flexbox or Grid?

Future work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant