Skip to content

Commit 60afbbd

Browse files
committed
chore: reduce the max height of conversation card (#141)
1 parent f31a6d3 commit 60afbbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/ConversationCard/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function ConversationCard(props) {
346346
style={
347347
props.notClampSize
348348
? { flexGrow: 1 }
349-
: { maxHeight: windowSize[1] * 0.75 + 'px', resize: 'vertical' }
349+
: { maxHeight: windowSize[1] * 0.55 + 'px', resize: 'vertical' }
350350
}
351351
>
352352
{conversationItemData.map((data, idx) => (

src/content-script/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
color: var(--font-color);
211211
resize: none;
212212
min-height: 70px;
213-
max-height: 240px;
213+
max-height: 160px;
214214
}
215215

216216
.dragbar {

0 commit comments

Comments
 (0)