From 3bd3e1fcf125446bd758adc23d6fb1b0e4f4f753 Mon Sep 17 00:00:00 2001 From: Simon Farshid Date: Tue, 25 Jun 2024 23:23:06 -0700 Subject: [PATCH] fix: use sideOffset in assistant-modal template (#323) --- apps/www/components/modal/ModalChat.tsx | 3 ++- .../shadcn-registry/registry/assistant-ui/assistant-modal.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/www/components/modal/ModalChat.tsx b/apps/www/components/modal/ModalChat.tsx index 0503a9456..6b42d88e8 100644 --- a/apps/www/components/modal/ModalChat.tsx +++ b/apps/www/components/modal/ModalChat.tsx @@ -2,8 +2,9 @@ import { AssistantModal } from "@/components/ui/assistant-ui/assistant-modal"; export const ModalChat = () => { return ( -
+
+

The Assistant Modal is available in the bottom right corner of the screen.

); }; diff --git a/packages/shadcn-registry/registry/assistant-ui/assistant-modal.tsx b/packages/shadcn-registry/registry/assistant-ui/assistant-modal.tsx index 2211017db..6dc604ae8 100644 --- a/packages/shadcn-registry/registry/assistant-ui/assistant-modal.tsx +++ b/packages/shadcn-registry/registry/assistant-ui/assistant-modal.tsx @@ -21,8 +21,9 @@ export const AssistantModal = () => {