Page MenuHomePhabricator

[landing] Reintroduce hover styling for `Header` nav links
ClosedPublic

Authored by atul on Mar 9 2022, 5:10 PM.
Tags
None
Referenced Files
F5026787: D3393.id10270.diff
Mon, Mar 24, 6:36 PM
F5026617: D3393.id.diff
Mon, Mar 24, 2:50 PM
Unknown Object (File)
Sun, Mar 23, 2:54 PM
Unknown Object (File)
Fri, Mar 14, 12:24 AM
Unknown Object (File)
Mon, Mar 3, 11:38 PM
Unknown Object (File)
Tue, Feb 25, 1:59 PM
Unknown Object (File)
Feb 20 2025, 2:11 AM
Unknown Object (File)
Feb 2 2025, 1:37 AM

Details

Summary

Bring back hover styling for Header nav links

Test Plan

Here's how it looks:

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

landing/header.react.js
25 ↗(On Diff #10256)

I don't think we should change fontWeight when a tab becomes active. It causes the text to shift around ever so slightly and it looks kind of tacky/unsettling. Happy to revert this change if there's disagreement.

atul published this revision for review.Mar 9 2022, 5:13 PM
atul edited the test plan for this revision. (Show Details)
tomek added inline comments.
landing/header.react.js
25 ↗(On Diff #10256)

Agree. If we want to have this effect, we can take a look at text-shadow

This revision is now accepted and ready to land.Mar 10 2022, 2:15 AM

If we want to have this effect, we can take a look at text-shadow

Oh nice, this looks neat.. I'll take a look

atul marked an inline comment as done.

rebase before landing

This revision was landed with ongoing or failed builds.Mar 10 2022, 9:31 AM
This revision was automatically updated to reflect the committed changes.