1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-09 09:19:54 +00:00

fix reasoning height

This commit is contained in:
Laura
2025-08-11 01:45:40 +02:00
parent 483d39006a
commit d352047a8d
2 changed files with 24 additions and 11 deletions

View File

@@ -259,18 +259,20 @@ body.loading #version {
}
.message .reasoning-text {
--height: auto;
height: calc(var(--height) + 20px);
background: #1e2030;
border-radius: 6px;
transition: 150ms;
padding: 10px 12px;
}
.message:not(.expanded) .reasoning-text {
height: 0;
padding: 0 12px;
.message .reasoning-wrapper {
--height: auto;
height: calc(var(--height) + 20px);
overflow: hidden;
transition: 150ms;
}
.message:not(.expanded) .reasoning-wrapper {
height: 0;
}
.message.expanded .reasoning-text {