-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Link styling #813
Link styling #813
Conversation
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.
This looks great! A couple small things:
-
The default & hover position of the arrows - in the style guide, the default arrow position aligns with the top of the text vs. your changes which align at the bottom. The hover effect should extend even beyond that. I believe this should be an easy adjustment of
translateY
. -
Underlining links - the style guide also adds underline to links. Let's add that in as well (unless you think we shouldn't do that?).
I put the icon in line with the lowercase letters cause I felt it worked slightly better there, but have switched it to match the style guide 🎉 I believe this is ready to merge |
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.
Looks great! Just delete that commented code & we should be good to merge.
Regarding the change to reflect the style guide, FYI I'm generally open to if you do decide to stray from the style guide, just please note that you're doing so. Otherwise I'll think you just overlooked something.
On that point, is your choice to not underline links a deliberate change from the style guide? See my 2nd point in my original review.
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.
@carlfairclough you didn't address my questions re: underlining links 😄 but this looks good, we can sort that out separately.
Added a glyph to external links. Resolves #759
Description
All external links (anchor tags) now show a north east glyph by default, which can be disabled with a
hide-icon
class. It has been disabled in navigation, and in the build-page cards.It is shown under the following conditions via CSS
It should be noted that this doesn't enforce complete parity with the Figma file (underlines), as the existing lists may become unwieldy.
Related Issue
#759
Screenshots (if appropriate):