From 0ee82e7c7f4037d06bfe38977577322c757015c9 Mon Sep 17 00:00:00 2001 From: josc146 Date: Tue, 13 Jun 2023 12:26:02 +0800 Subject: [PATCH] improve style for safari --- src/components/ConversationCard/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ConversationCard/index.jsx b/src/components/ConversationCard/index.jsx index 030674b..d0241fe 100644 --- a/src/components/ConversationCard/index.jsx +++ b/src/components/ConversationCard/index.jsx @@ -242,7 +242,8 @@ function ConversationCard(props) { className="gpt-util-group" style={{ padding: '15px 0 15px 15px', - ...(props.notClampSize ? {} : { flexGrow: 1 }), + ...(props.notClampSize ? {} : { flexGrow: isSafari() ? 0 : 1 }), + ...(isSafari() ? { maxWidth: '200px' } : {}), }} > {props.closeable ? (