Skip to content

Conversation

nicoburns
Copy link
Contributor

@nicoburns nicoburns commented Feb 18, 2025

Marks menu items that link out to external content with the standard icon for that:

https://fontawesome.com/v6/icons/up-right-from-square?f=classic&s=solid

Screenshot 2025-02-19 at 12 32 43

Copy link

Preview link: https://servo.org/mark-ext-menu-items/

Copy link
Member

@mrego mrego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nice, just a small suggestion to move the styles to the CSS file.

@@ -0,0 +1 @@
<span style="font-size: 0.8em;display:inline-block;margin-left: 4px"><i class="fa-solid fa-up-right-from-square"></i></span> No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we move the style here to the CSS file? Maybe under .navar-link and .navbar-item.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really seeing any advantage to doing that. These styles are never used anywhere else, and they'll get lost in the 1000 line css file. This component (as it exists now) could also be used in places other than the navbar.

@nicoburns nicoburns merged commit edea136 into main Feb 19, 2025
2 checks passed
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