Skip to content

Commit

Permalink
feat: The "Ask AI" pop-up doesn't look well in mobile view (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
HashCookie authored Jul 30, 2024
1 parent 6820669 commit 02b7efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/SidePanelChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const SidePanelChat = forwardRef((props, ref) => {
</div>
{isOpen && <div className="fixed inset-0 bg-black bg-opacity-50 z-40" onClick={toggleDrawer}></div>}
<div
className={`fixed top-0 right-0 w-[500px] h-full bg-white z-50 shadow-lg transform transition-transform duration-300 ease-in-out ${
className={`fixed top-0 right-0 w-full sm:w-[500px] h-full bg-white z-50 shadow-lg transform transition-transform duration-300 ease-in-out ${
isOpen ? 'translate-x-0' : 'translate-x-full'
}`}
>
Expand Down

0 comments on commit 02b7efc

Please sign in to comment.