From 7193e1f2220af0b57683cc5f27a9ea7bd9854119 Mon Sep 17 00:00:00 2001 From: Farhad Jay Date: Sat, 2 Nov 2024 00:18:58 -0700 Subject: [PATCH] Fix NSFW/NSFL link tagging NSFW link styles were mistakenly applied to descendants of `.externallink` when they should be applied to descendants of `.msg-chat`. --- assets/chat/css/messages/_base.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/chat/css/messages/_base.scss b/assets/chat/css/messages/_base.scss index c5ff9fb5..d8349e4f 100644 --- a/assets/chat/css/messages/_base.scss +++ b/assets/chat/css/messages/_base.scss @@ -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; } }