-
Notifications
You must be signed in to change notification settings - Fork 710
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
indicate articles that are targets of in-product links #5948
indicate articles that are targets of in-product links #5948
Conversation
f85947b
to
1bb3e06
Compare
3a3eaf2
to
2b88c75
Compare
4065293
to
139d4e0
Compare
@@ -57,6 +57,13 @@ | |||
{{ search_box(settings, id='support-search-sidebar', params=search_params) }} | |||
</div> | |||
|
|||
{% if in_staff_group(user) and document.is_linked_in_product %} | |||
<figure id="linked-in-product-indicator"> |
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.
let's indent this 2 spaces in
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.
I would also move this as a list item under the sidebar_nav
in the sidebar_modules.html for consistency
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.
Instead of using grid
for CSS I would go for something like:
figure {
&.foobar {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: p.$spacing-xl;
}
img {
width: 24px;
height: 24px;
}
figcaption {
font-weight: 500;
line-height: normal;
}
}
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.
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.
that was merely a suggestion, the main point was to use flexbox instead of grid for this
139d4e0
to
f9c90f5
Compare
mozilla/sumo#1607
Notes
Staff
group will see the indicator.