Change account moderation notes to make links clickable (#22553)

* Change account moderation notes to make links clickable

Fixes #22539

* Fix styling of account moderation note links
main
Claire 2 years ago committed by GitHub
parent 7e6ffa085f
commit 9b3e22c40d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1572,6 +1572,15 @@ a.sparkline {
margin-bottom: 0; margin-bottom: 0;
} }
} }
a {
color: $highlight-text-color;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
} }
&__actions { &__actions {

@ -8,7 +8,7 @@
= l report_note.created_at.to_date = l report_note.created_at.to_date
.report-notes__item__content .report-notes__item__content
= simple_format(h(report_note.content)) = linkify(report_note.content)
- if can?(:destroy, report_note) - if can?(:destroy, report_note)
.report-notes__item__actions .report-notes__item__actions

Loading…
Cancel
Save