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
This commit is contained in:
chapoi 2024-09-18 06:54:41 +02:00 committed by GitHub
parent 101f1e9512
commit 1e155942bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,9 @@
right: 1rem !important;
width: 470px;
max-width: 470px !important; //overruling JS
max-height: calc(100vh - var(--header-offset) - 3rem);
max-height: calc(
100vh - var(--header-offset) - 3rem - var(--composer-height, 0px)
);
.ai-summary__header,
.ai-summary-box {