From d4579de53603a916c3615051a71e980b0e1cf7ac Mon Sep 17 00:00:00 2001 From: the1812 Date: Wed, 14 Aug 2024 23:06:14 +0800 Subject: [PATCH] Update reply editor styles --- .../style/simplify/comments/comments-v3.scss | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/registry/lib/components/style/simplify/comments/comments-v3.scss b/registry/lib/components/style/simplify/comments/comments-v3.scss index ee956a332..b9c428e9a 100644 --- a/registry/lib/components/style/simplify/comments/comments-v3.scss +++ b/registry/lib/components/style/simplify/comments/comments-v3.scss @@ -10,21 +10,25 @@ $prefix: 'simplifyComments-switch'; } } - &:host-context(body.#{$prefix}-replyEditor):host(bili-comment-box) { - #pub button { - font-size: 14px; + &:host-context(body.#{$prefix}-replyEditor) { + &:host(bili-comment-box) { + #pub button { + font-size: 14px; + } } - #label { - font-size: 15px; + &:host(bili-checkbox) { + #label { + font-size: 15px; + } } - } - &:host-context(body.#{$prefix}-replyEditor):host(bili-comment-textarea) { - #input { - font-size: 13px; - } - #input, - #input::placeholder { - line-height: normal; + &:host(bili-comment-textarea) { + #input { + font-size: 13px; + } + #input, + #input::placeholder { + line-height: normal; + } } } &:host-context(body.#{$prefix}-userLevel):host(bili-comment-user-info) {