Skip to content

Commit

Permalink
Fix NSFW/NSFL link tagging
Browse files Browse the repository at this point in the history
NSFW link styles were mistakenly applied to descendants of
`.externallink` when they should be applied to descendants of
`.msg-chat`.
  • Loading branch information
11k committed Nov 2, 2024
1 parent 2aad94d commit 7193e1f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions assets/chat/css/messages/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ $link-color-map: (
&:focus {
color: a.$color-link-hover;
}
}

@each $type, $color in $link-color-map {
.#{$type}-link {
border-style: dashed;
border-width: 1px 0 1px 0;
border-color: transparent transparent $color transparent;
}
@each $type, $color in $link-color-map {
.#{$type}-link {
border-style: dashed;
border-width: 1px 0 1px 0;
border-color: transparent transparent $color transparent;
}
}

Expand Down

0 comments on commit 7193e1f

Please sign in to comment.