Skip to content

Commit

Permalink
Fix: "Add project" button is not visible on users page (#3517)
Browse files Browse the repository at this point in the history
Summary:
https://relay.dev/users/

Not sure what the intended styles were here. But the "button" class makes the text white, making it completely invisible.
<img width="526" alt="Screenshot 2021-06-12 at 5 42 25 PM" src="https://user-images.githubusercontent.com/29686866/121775487-aa2c3b80-cba5-11eb-9d28-9e9d947a524b.png">

Removing the class makes the link show up in orange color with an underline on hover:
<img width="526" alt="Screenshot 2021-06-12 at 5 44 13 PM" src="https://user-images.githubusercontent.com/29686866/121775516-d3e56280-cba5-11eb-83a2-a34a12258385.png">

Pull Request resolved: #3517

Reviewed By: kassens

Differential Revision: D29104668

Pulled By: poteto

fbshipit-source-id: e5853887c3248ea0ac51fa04875221bd4955afc3
  • Loading branch information
cseas authored and facebook-github-bot committed Jun 14, 2021
1 parent cbc60c4 commit 1d41929
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions website/src/pages/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ const Users = () => {
</div>
<div className="logos">{showcase}</div>
<p>Are you using this project?</p>
<a
href="https://github.com/facebook/relay/edit/master/website/docusaurus.config.js"
className="button">
<a href="https://github.com/facebook/relay/edit/master/website/docusaurus.config.js">
Add your project
</a>
</div>
Expand Down

0 comments on commit 1d41929

Please sign in to comment.