Skip to content

Fix hover effect on Log in and Sign up nav items #1085

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

Merged
merged 3 commits into from
Jun 11, 2019
Merged

Fix hover effect on Log in and Sign up nav items #1085

merged 3 commits into from
Jun 11, 2019

Conversation

shanrauf
Copy link
Contributor

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • is from a uniquely-named feature branch and has been rebased on top of the latest master. (If I was asked to make more changes, I have made sure to rebase onto master then too)
  • is descriptively named and links to an issue number: Applies fixes from #908 to "Log in" and "Sign up"

@catarak
Copy link
Member

catarak commented May 28, 2019

thanks for working on this. the hover color is fixed, however, it appears the spacing is a little off:
Screen Shot 2019-05-28 at 6 06 01 PM
there's more space between "log in" and "or" than "sign up" and "or"

@shanrauf
Copy link
Contributor Author

shanrauf commented Jun 3, 2019

Apologies for the weird commit history, had trouble with Git... The unequal spacing was caused by a margin that was originally placed on all nav items seemingly to make the dropdowns and spacing look nicer. However, since Log in and Sign up are a bit different from the left nav bar, I just deleted the margin placed on all nav items, and added a margin to the dropdown triangles (which will only affect the necessary nav items).

Please let me know if there are any other issues.

@shanrauf
Copy link
Contributor Author

shanrauf commented Jun 6, 2019

My new commit doesn't weirdly add a button in the Link element anymore. The hover effect I added to all nav__item-headers is a bit redundant because right above it there is something similar for the left nav, but I don't see any other option. I also removed the nav__item class on the right nav li elements, because if you keep that class, then there is the same problem from #908 where the hover effect is applied but the link is not clickable yet. Please let me know if you want anything changed!

@catarak
Copy link
Member

catarak commented Jun 6, 2019

there's something funky happening with the git history on this branch...

@shanrauf
Copy link
Contributor Author

shanrauf commented Jun 6, 2019

Apologies once again... Everything should be fixed, so please let me know if anything else is wrong. I appreciate you dealing with this inefficiency, I'm learning a lot...

@catarak
Copy link
Member

catarak commented Jun 11, 2019

@shanrauf no worries!

@catarak
Copy link
Member

catarak commented Jun 11, 2019

this is working great for me. thanks for working on this!

@catarak catarak merged commit eb82968 into processing:master Jun 11, 2019
@shanrauf shanrauf deleted the navigation-hover-fix branch June 11, 2019 21:47
catarak pushed a commit that referenced this pull request Jun 11, 2019
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
catarak pushed a commit that referenced this pull request Jul 22, 2019
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
catarak pushed a commit that referenced this pull request Jul 22, 2019
* Fix hover effect on Log in and Sign up nav items

* Fix Login and Signup unequal spacing

* Fix HTML syntax and right nav__item-header hover
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.

2 participants