From 60afbbd0b93773792205c97fccfa76c6a6f5326f Mon Sep 17 00:00:00 2001 From: josc146 Date: Wed, 5 Apr 2023 13:24:56 +0800 Subject: [PATCH] chore: reduce the max height of conversation card (#141) --- src/components/ConversationCard/index.jsx | 2 +- src/content-script/styles.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ConversationCard/index.jsx b/src/components/ConversationCard/index.jsx index d9061950..6cbe991f 100644 --- a/src/components/ConversationCard/index.jsx +++ b/src/components/ConversationCard/index.jsx @@ -346,7 +346,7 @@ function ConversationCard(props) { style={ props.notClampSize ? { flexGrow: 1 } - : { maxHeight: windowSize[1] * 0.75 + 'px', resize: 'vertical' } + : { maxHeight: windowSize[1] * 0.55 + 'px', resize: 'vertical' } } > {conversationItemData.map((data, idx) => ( diff --git a/src/content-script/styles.scss b/src/content-script/styles.scss index 6aafe12c..6c6466b8 100644 --- a/src/content-script/styles.scss +++ b/src/content-script/styles.scss @@ -210,7 +210,7 @@ color: var(--font-color); resize: none; min-height: 70px; - max-height: 240px; + max-height: 160px; } .dragbar {