diff --git a/src/styles/Extn-AIChatPanel.less b/src/styles/Extn-AIChatPanel.less index 7e015b4c2f..be62fbfea6 100644 --- a/src/styles/Extn-AIChatPanel.less +++ b/src/styles/Extn-AIChatPanel.less @@ -2905,6 +2905,26 @@ the inner cards' default min-width:auto prevents shrink. */ min-width: 0; width: 100%; + flex: 1 1 auto; + min-height: 0; + overflow-y: auto; + scrollbar-width: thin; + scrollbar-color: rgba(255, 255, 255, 0.3) transparent; + + &::-webkit-scrollbar { + width: 9px; + height: 9px; + background-color: transparent; + } + &::-webkit-scrollbar-thumb { + border-radius: 999px; + background-color: rgba(255, 255, 255, 0.3) !important; + background-clip: padding-box !important; + border: 2px solid transparent !important; + } + &::-webkit-scrollbar-thumb:hover { + background-color: rgba(255, 255, 255, 0.45) !important; + } /* The chat panel sets `white-space: nowrap` higher up so streaming chat lines don't reflow mid-token. Reset it here so all text in the @@ -2947,6 +2967,12 @@ gap: 0; } +.ai-placeholder .ai-intro-video-thumb { + max-height: ~"min(220px, 28vh)"; + max-width: ~"calc(min(220px, 28vh) * 16 / 9)"; + align-self: flex-start; +} + .ai-placeholder-cards { list-style: none; margin: 0;