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

Style header #127

Merged
merged 12 commits into from
Oct 2, 2021
Merged

Style header #127

merged 12 commits into from
Oct 2, 2021

Conversation

shangzhel
Copy link
Collaborator

  • Logged out
    image

  • Logged in
    image

  • Closes Style header #116

  • The style guide will needs some adjustments to match the adjusted component metrics.

  • Future: modify the theme defaults with the new metrics.

  • Future: fix layout issue when screen space is insufficient

    • image

@shangzhel shangzhel added the enhancement New feature or request label Sep 30, 2021
@shangzhel shangzhel added this to the Sprint 2 milestone Sep 30, 2021
@shangzhel shangzhel self-assigned this Sep 30, 2021
@shangzhel shangzhel added this to In progress in Sprint 2 via automation Sep 30, 2021
@shangzhel shangzhel added this to Sprint 2 in Product backlog via automation Sep 30, 2021
@shangzhel shangzhel moved this from In progress to In review in Sprint 2 Sep 30, 2021
Copy link
Collaborator

@oldbugo oldbugo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two minor style changes, and a bug I've encountered that we may want to fix.

For the minor styles, the first is that the logo I think is better off to be all caps, but that's just a personal preference thing. The second is to have a little bit more right margin for the user-icon (see pic below, the exact number of and implementation is up to you of course)
image

Now for the bug, see the picture below.
image
The way I can recreate this bug is by:
render page in smaller window --> click on user-icon to bring up dropdown menu --> resize the window to make the viewport bigger i.e. maximize window.
Now, if I click the user-icon again the drop down would pop up in where it shouldn't. This is tested on Chrome.

Otherwise, very nicely done. Thank you for your work.

@shangzhel
Copy link
Collaborator Author

The second is to have a little bit more right margin for the user-icon

I chose 14px because it is half of the gap between the two buttons, starting with 56px in your style guide then scaled down to 28px to adjust for high DPI.

This is what it looks like now
image

@shangzhel shangzhel requested review from oldbugo and removed request for chomosuke, waltervan00 and pep1032314 October 1, 2021 18:44
@shangzhel shangzhel merged commit 1e92c50 into master Oct 2, 2021
Sprint 2 automation moved this from In review to Done Oct 2, 2021
Product backlog automation moved this from Sprint 2 to Sprint 2 Done Oct 2, 2021
@shangzhel shangzhel deleted the shangzhel/header-styles branch October 2, 2021 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Product backlog
  
Sprint 2 Done
Sprint 2
  
Done
Development

Successfully merging this pull request may close these issues.

Style header
2 participants