From eebafd732780989a31601d5d8174eb142b497ad3 Mon Sep 17 00:00:00 2001 From: Sean Hatfield Date: Thu, 2 Nov 2023 16:17:02 -0700 Subject: [PATCH] Replace old modals to match UI (#328) * workspace not found modal updated to match ui * update text preview modal to match new ui * Mobile styles --------- Co-authored-by: timothycarambat --- frontend/src/components/WorkspaceChat/index.jsx | 14 +++++++------- frontend/src/pages/Admin/Chats/ChatRow/index.jsx | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/WorkspaceChat/index.jsx b/frontend/src/components/WorkspaceChat/index.jsx index 7663d46c..98a77a42 100644 --- a/frontend/src/components/WorkspaceChat/index.jsx +++ b/frontend/src/components/WorkspaceChat/index.jsx @@ -31,21 +31,21 @@ export default function WorkspaceChat({ loading, workspace }) { -
-
-

- We cannot locate this workspace! +

+
+

+ Workspace not found!

-

+

It looks like a workspace by this name is not available.

Go back to homepage diff --git a/frontend/src/pages/Admin/Chats/ChatRow/index.jsx b/frontend/src/pages/Admin/Chats/ChatRow/index.jsx index 9132b6cd..16e4dfae 100644 --- a/frontend/src/pages/Admin/Chats/ChatRow/index.jsx +++ b/frontend/src/pages/Admin/Chats/ChatRow/index.jsx @@ -71,21 +71,21 @@ function hideModal(modalName) { const TextPreview = ({ text, modalName }) => { return ( -
-
+
+

Viewing Text

-
-
+          
+
               {text}