mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(site/src/pages/AgentsPage/components/ChatConversation): add min-h-6 to StatusPlaceholder to prevent layout shift (#25560)
This commit is contained in:
@@ -20,7 +20,7 @@ const StatusPlaceholder: FC<{
|
||||
shimmer?: boolean;
|
||||
}> = ({ text, shimmer = false }) => {
|
||||
return (
|
||||
<div className="relative">
|
||||
<div className="relative min-h-6">
|
||||
{/* Reserve the final response height without exposing a selectable copy. */}
|
||||
<Response aria-hidden className="invisible select-none">
|
||||
{text}
|
||||
|
||||
Reference in New Issue
Block a user