@@ -67,7 +67,7 @@ export const MessageWindow: React.FC<MessageWindowProps> = ({
6767 "mt-4 mb-1 flex w-full flex-col relative isolate w-fit" ,
6868 variant === "user" && "ml-auto" ,
6969 variant === "assistant" && "text-white" ,
70- isLastPartOfMessage && "mb-4"
70+ isLastPartOfMessage && "mb-4"
7171 ) }
7272 data-message-block
7373 >
@@ -82,7 +82,7 @@ export const MessageWindow: React.FC<MessageWindowProps> = ({
8282 < div className = "relative z-10 flex flex-col gap-2" >
8383 < div data-message-content >
8484 { showJson ? (
85- < pre className = "m-0 overflow-x-auto rounded-xl border border-white/10 bg-black/30 p-3 text-[12px] leading-snug text-white/80 whitespace-pre-wrap" >
85+ < pre className = "m-0 overflow-x-auto rounded-xl border border-white/10 bg-black/30 p-3 text-[12px] leading-snug whitespace-pre-wrap text-white/80 " >
8686 { JSON . stringify ( message , null , 2 ) }
8787 </ pre >
8888 ) : (
@@ -114,7 +114,7 @@ export const MessageWindow: React.FC<MessageWindowProps> = ({
114114 />
115115 </ div >
116116 < div
117- className = "flex min-w-0 flex-1 flex-wrap items-center gap-2 text-xs text-muted "
117+ className = "text-muted flex min-w-0 flex-1 flex-wrap items-center gap-2 text-xs"
118118 data-message-meta-right
119119 >
120120 { rightLabel }
@@ -143,10 +143,10 @@ const IconActionButton: React.FC<IconActionButtonProps> = ({ button }) => {
143143 aria-label = { button . label }
144144 variant = "ghost"
145145 size = "icon"
146- className = "flex items-center justify-center [&_svg]:size-3.5 h-6 w-6 text-placeholder "
146+ className = "text-placeholder flex h-6 w-6 items-center justify-center [&_svg]:size-3.5"
147147 >
148148 { button . icon ?? (
149- < span className = "text-[10px] font-semibold uppercase tracking-wide" > { button . label } </ span >
149+ < span className = "text-[10px] font-semibold tracking-wide uppercase " > { button . label } </ span >
150150 ) }
151151 </ Button >
152152 ) ;
0 commit comments