From dd487dec6e63bf8c016d697ba7785c925fbb6116 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Tue, 25 Jun 2024 22:23:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20Increase=20gaps=20betwe?= =?UTF-8?q?en=20ChatItem=20(#170)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update style.ts * Update style.ts --- src/ChatItem/style.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChatItem/style.ts b/src/ChatItem/style.ts index bff1b72a..bd9809d1 100644 --- a/src/ChatItem/style.ts +++ b/src/ChatItem/style.ts @@ -114,7 +114,7 @@ export const useStyles = createStyles( } ${responsive.mobile} { - padding-block: 4px; + padding-block: ${type === 'pure' ? '12px' : '6px'}; padding-inline: 8px; } `, @@ -205,6 +205,8 @@ export const useStyles = createStyles( line-height: 1; color: ${token.colorTextDescription}; text-align: ${placement === 'left' ? 'left' : 'right'}; + + pointer-events: none; `, }; },