-
Notifications
You must be signed in to change notification settings - Fork 117
TwentyTwentyOne: Add bottom-border to hover states in pagination links #875
Conversation
LGTM 👍 |
I don't think these borders would match any other link hover styles? I don't think it looks bad but it will be inconsistent? |
Ahhh, I didn’t catch that! I’ll reverse this so it matches the menu styles. |
…imary navigation.
Should be good to go now @melchoyce & @carolinan: |
Also just noticed the font-sizes don’t match between the header navigation and pagination links:
Since the hover actions are the same, should the font-sizes also the same @melchoyce ? |
I think I want to leave them as-is. Thanks for checking! |
I noticed that the current item has the hover state too, but it's not a link. That could be confusing, I'm not sure if it's technically an a11y issue or not. Could |
Just a note that with this change we have solid underlines for next and previous posts (single view), but dotted underlines for the newer/older post pagination. @melchoyce Is that what you want? |
Ahh, good call. I’ll correct that :-) |
- Adds dotted underline to singlar next/prev links - Removes hover state from current page number since it isn’t a link
…into fix/issue-868
I went ahead and corrected this in that last batch of commits. Feels more consistent this way but happy to change it back if you prefer, @melchoyce. Cc: @carolinan |
Can you add another gif for comparison @allancole? |
No prob, @melchoyce. See below: Archive ViewSingular View |
The after gifs look real nice to me ❤️ |
Same, thanks @allancole 👍 |
I think this is good to merge then, @carolinan—if you’d like to do the honors ;-) |
I am very confused about why one of the after gifs have both a dotted and solid underline? |
Fixes: #868
Summary
This PR simply adds bottom-borders to the hover state on pagination links to make them match the current page bottom-border.
Test instructions
This PR can be tested by following these steps:
Screenshots
Before:
After:
Quality assurance