Skip to content

Commit 2330107

Browse files
Merge pull request #178 from OpenAssistantGPT/feat/post-message-on-parent-for-message
feat: adjust padding
2 parents 935b403 + d61426f commit 2330107

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/grumpy-ghosts-pump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openassistantgpt/ui': patch
3+
---
4+
5+
Adjust pading in chat window when disabeling icon.

examples/website-chatbot-window/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function Home() {
1717
style={{
1818
overflow: 'hidden',
1919
height: '80vh',
20-
width: '480px',
20+
width: '1080px',
2121
bottom: '-30px',
2222
border: '2px solid #e2e8f0',
2323
borderRadius: '0.375rem',

packages/ui/components/chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export function OpenAssistantGPTChat({
249249
<div
250250
ref={messagesContainerRef}
251251
className={cn(
252-
'pb-[200px] overflow-auto max-h-max pl-6 sm:pl-20 sm:pr-20 md:pb-[100px] pt-4 md:pt-10',
252+
'pb-[200px] overflow-auto max-h-max pl-2 pr-2 sm:pl-20 sm:pr-20 md:pb-[100px] pt-4 md:pt-10',
253253
className,
254254
)}
255255
>

0 commit comments

Comments
 (0)