Skip to content

Commit 0ee82e7

Browse files
committed
improve style for safari
1 parent f3a63ad commit 0ee82e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/ConversationCard/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ function ConversationCard(props) {
242242
className="gpt-util-group"
243243
style={{
244244
padding: '15px 0 15px 15px',
245-
...(props.notClampSize ? {} : { flexGrow: 1 }),
245+
...(props.notClampSize ? {} : { flexGrow: isSafari() ? 0 : 1 }),
246+
...(isSafari() ? { maxWidth: '200px' } : {}),
246247
}}
247248
>
248249
{props.closeable ? (

0 commit comments

Comments
 (0)