Просмотр исходного кода

Fix centering of the about text (#4080)

Matt Rubens 7 месяцев назад
Родитель
Сommit
1365800474
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      webview-ui/src/components/chat/ChatView.tsx

+ 1 - 1
webview-ui/src/components/chat/ChatView.tsx

@@ -1321,7 +1321,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
 						{telemetrySetting === "unset" && <TelemetryBanner />}
 						{/* Show the task history preview if expanded and tasks exist */}
 						{taskHistory.length > 0 && isExpanded && <HistoryPreview />}
-						<p className="text-vscode-editor-foreground leading-tight font-vscode-font-family text-center text-balance max-w-[380px]">
+						<p className="text-vscode-editor-foreground leading-tight font-vscode-font-family text-center text-balance max-w-[380px] mx-auto">
 							<Trans
 								i18nKey="chat:about"
 								components={{