-
Notifications
You must be signed in to change notification settings - Fork 0
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
Style header #127
Conversation
- Move components that are exclusively used by the Header into the src/components/Header directory.
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.
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)
Now for the bug, see the picture below.
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.
Logged out
![image](https://user-images.githubusercontent.com/64011879/135513620-84217e59-4cbd-4fbd-9a09-6f0ee9f3c7a0.png)
Logged in
![image](https://user-images.githubusercontent.com/64011879/135513502-a403da06-9d69-44bc-a8ae-aebea2f5d10a.png)
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