fix: adjust intro section margin and textarea outline style in BaseChat component
Browse files- app/commit.json +1 -1
- app/components/chat/BaseChat.tsx +2 -2
app/commit.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{ "commit": "
|
|
|
1 |
+
{ "commit": "1764145ba4cd8a4cf10f4dc89ac9abf6fd1a00fd" }
|
app/components/chat/BaseChat.tsx
CHANGED
@@ -283,7 +283,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
283 |
<div ref={scrollRef} className="flex flex-col lg:flex-row overflow-y-auto w-full h-full">
|
284 |
<div className={classNames(styles.Chat, 'flex flex-col flex-grow lg:min-w-[var(--chat-min-width)] h-full')}>
|
285 |
{!chatStarted && (
|
286 |
-
<div id="intro" className="mt-[
|
287 |
<h1 className="text-3xl lg:text-6xl font-bold text-bolt-elements-textPrimary mb-4 animate-fade-in">
|
288 |
Where ideas begin
|
289 |
</h1>
|
@@ -384,7 +384,7 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
384 |
<textarea
|
385 |
ref={textareaRef}
|
386 |
className={classNames(
|
387 |
-
'w-full pl-4 pt-4 pr-16
|
388 |
'transition-all duration-200',
|
389 |
'hover:border-bolt-elements-focus',
|
390 |
)}
|
|
|
283 |
<div ref={scrollRef} className="flex flex-col lg:flex-row overflow-y-auto w-full h-full">
|
284 |
<div className={classNames(styles.Chat, 'flex flex-col flex-grow lg:min-w-[var(--chat-min-width)] h-full')}>
|
285 |
{!chatStarted && (
|
286 |
+
<div id="intro" className="mt-[16vh] max-w-chat mx-auto text-center px-4 lg:px-0">
|
287 |
<h1 className="text-3xl lg:text-6xl font-bold text-bolt-elements-textPrimary mb-4 animate-fade-in">
|
288 |
Where ideas begin
|
289 |
</h1>
|
|
|
384 |
<textarea
|
385 |
ref={textareaRef}
|
386 |
className={classNames(
|
387 |
+
'w-full pl-4 pt-4 pr-16 outline-none resize-none text-bolt-elements-textPrimary placeholder-bolt-elements-textTertiary bg-transparent text-sm',
|
388 |
'transition-all duration-200',
|
389 |
'hover:border-bolt-elements-focus',
|
390 |
)}
|