Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions components/chat-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,19 @@ export function ChatPanel({ messages, input, setInput }: ChatPanelProps) {
Math.max(8, newBorder) + 'px'
}}
/>
<Button
type="button"
variant={'ghost'}
size={'icon'}
className={cn(
'absolute top-1/2 transform -translate-y-1/2',
isMobile ? 'right-8' : 'right-10'
)}
>
<Paperclip size={isMobile ? 18 : 20} />
</Button>
{!isMobile && (
<Button
type="button"
variant={'ghost'}
size={'icon'}
className={cn(
'absolute top-1/2 transform -translate-y-1/2',
isMobile ? 'right-8' : 'right-10'
)}
>
<Paperclip size={isMobile ? 18 : 20} />
</Button>
)}
<Button
type="submit"
size={'icon'}
Expand Down
Empty file added dev.log
Empty file.
21 changes: 21 additions & 0 deletions jules-scratch/verification/verify_attachment_icon.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from playwright.sync_api import sync_playwright

def run(playwright):
browser = playwright.chromium.launch()
context = browser.new_context()
page = context.new_page()

page.goto("http://localhost:3000")

# Mobile view
page.set_viewport_size({"width": 375, "height": 812})
page.screenshot(path="jules-scratch/verification/mobile_view.png")

# Desktop view
page.set_viewport_size({"width": 1920, "height": 1080})
page.screenshot(path="jules-scratch/verification/desktop_view.png")

browser.close()

with sync_playwright() as playwright:
run(playwright)