Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 1e15594

Browse files
authored
UX: take composer height into account when calculating the max-height for topic summary (#806)
* remove unused import * UX: take composer height into account when calculating the max-height for the topic summary
1 parent 101f1e9 commit 1e15594

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/stylesheets/modules/summarization/desktop/ai-summary.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
right: 1rem !important;
88
width: 470px;
99
max-width: 470px !important; //overruling JS
10-
max-height: calc(100vh - var(--header-offset) - 3rem);
10+
max-height: calc(
11+
100vh - var(--header-offset) - 3rem - var(--composer-height, 0px)
12+
);
1113

1214
.ai-summary__header,
1315
.ai-summary-box {

0 commit comments

Comments
 (0)