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

Responsify header #328

Merged

Conversation

gitjul
Copy link
Contributor

@gitjul gitjul commented Jun 19, 2020

Motivation

On smallest screens the nav menu covered almost the whole screen but not all of it, which didn't look good.
While working on this noticed that the search results don't look good either, as they were shown in a small misaligned popup.

Description

Made the menu full-width on smallest screens.
Fixed search results to match the input width.
Fixed hamburger icon alignment.
Improved close button styles, aligning it with the now covered hamburger icon, so that the user doesn't have to shift their finger when expanding and collapsing.

Fixes #305

Implementation

  • Needed to add some overrides on top of semantic UI elements.
  • Over-general styles for button were moved to a specific class for file upload, so that button elements can be used more freely.

Type of change

New feature

Screenshots/Links

Nav menu - desktop:

Screenshot 2020-06-19 at 22 01 01

Nav menu - phone:

Screenshot 2020-06-19 at 21 56 05

Search bar and hamburger icon - before:

Screenshot 2020-06-19 at 21 57 53

Search Bar and hamburger icon - after:

Screenshot 2020-06-19 at 21 57 38

@gitjul gitjul marked this pull request as draft June 19, 2020 20:02
@gitjul gitjul self-assigned this Jun 19, 2020
@sethuraj
Copy link
Contributor

This needs to be merged to integration/webapp as well right? Thanks.

@gitjul gitjul marked this pull request as ready for review June 22, 2020 12:47
@gitjul gitjul changed the base branch from master to integration/webapp June 22, 2020 12:47
@gitjul
Copy link
Contributor Author

gitjul commented Jun 22, 2020

@sethuraj yes, I was waiting for the #320 to be merged before I undraft this, cos I built it on top of those changes. ready for review /cc @aviskarkc10

@cnagadya
Copy link
Contributor

LGTM 👍

@aviskarkc10 aviskarkc10 merged commit c8f7beb into nthopinion:integration/webapp Jun 27, 2020
@gitjul gitjul deleted the physician/responsify-header branch June 29, 2020 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Responsify header
4 participants