Skip to content

Commit

Permalink
Merge pull request #178 from OpenAssistantGPT/feat/post-message-on-pa…
Browse files Browse the repository at this point in the history
…rent-for-message

feat: adjust padding
  • Loading branch information
marcolivierbouch authored Nov 28, 2024
2 parents 935b403 + d61426f commit 2330107
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/grumpy-ghosts-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@openassistantgpt/ui': patch
---

Adjust pading in chat window when disabeling icon.
2 changes: 1 addition & 1 deletion examples/website-chatbot-window/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Home() {
style={{
overflow: 'hidden',
height: '80vh',
width: '480px',
width: '1080px',
bottom: '-30px',
border: '2px solid #e2e8f0',
borderRadius: '0.375rem',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export function OpenAssistantGPTChat({
<div
ref={messagesContainerRef}
className={cn(
'pb-[200px] overflow-auto max-h-max pl-6 sm:pl-20 sm:pr-20 md:pb-[100px] pt-4 md:pt-10',
'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',
className,
)}
>
Expand Down

0 comments on commit 2330107

Please sign in to comment.