diff --git a/client/src/components/Bookmarks/BookmarkForm.tsx b/client/src/components/Bookmarks/BookmarkForm.tsx index 959d6e5284..5345ce0d5f 100644 --- a/client/src/components/Bookmarks/BookmarkForm.tsx +++ b/client/src/components/Bookmarks/BookmarkForm.tsx @@ -119,7 +119,7 @@ const BookmarkForm = ({ aria-describedby={errors.tag ? 'bookmark-tag-error' : undefined} /> {errors.tag && ( - + {errors.tag.message} )} diff --git a/client/src/components/Bookmarks/DeleteBookmarkButton.tsx b/client/src/components/Bookmarks/DeleteBookmarkButton.tsx index e63feb7621..dbb7d8a1a7 100644 --- a/client/src/components/Bookmarks/DeleteBookmarkButton.tsx +++ b/client/src/components/Bookmarks/DeleteBookmarkButton.tsx @@ -74,8 +74,7 @@ const DeleteBookmarkButton: FC<{ } selection={{ selectHandler: confirmDelete, - selectClasses: - 'bg-red-700 dark:bg-red-600 hover:bg-red-800 dark:hover:bg-red-800 text-white', + selectClasses: 'bg-surface-destructive hover:bg-surface-destructive-hover text-white', selectText: localize('com_ui_delete'), }} /> diff --git a/client/src/components/MCPUIResource/MCPUIResource.tsx b/client/src/components/MCPUIResource/MCPUIResource.tsx index 692db889c9..d5fb0f868f 100644 --- a/client/src/components/MCPUIResource/MCPUIResource.tsx +++ b/client/src/components/MCPUIResource/MCPUIResource.tsx @@ -26,7 +26,7 @@ export function MCPUIResource(props: MCPUIResourceProps) { if (!uiResource) { return ( - + {localize('com_ui_ui_resource_not_found', { 0: resourceId ?? '', })} @@ -50,7 +50,7 @@ export function MCPUIResource(props: MCPUIResourceProps) { } catch (error) { console.error('Error rendering UI resource:', error); return ( - + {localize('com_ui_ui_resource_error', { 0: uiResource.name || resourceId })} ); diff --git a/client/src/components/Messages/Content/Mermaid/Mermaid.tsx b/client/src/components/Messages/Content/Mermaid/Mermaid.tsx index 51e873f49a..01be595a84 100644 --- a/client/src/components/Messages/Content/Mermaid/Mermaid.tsx +++ b/client/src/components/Messages/Content/Mermaid/Mermaid.tsx @@ -175,7 +175,7 @@ const Mermaid: React.FC = memo(({ children, id, theme }) => {
- + {localize('com_ui_mermaid_failed')}
-
+          
             {error.message}
           
{showCode && ( diff --git a/client/src/components/OAuth/OAuthError.tsx b/client/src/components/OAuth/OAuthError.tsx index ac5532c241..3e3206d210 100644 --- a/client/src/components/OAuth/OAuthError.tsx +++ b/client/src/components/OAuth/OAuthError.tsx @@ -35,12 +35,12 @@ export default function OAuthError() { }; return ( -
-
+
+
-
+
-

+

{localize('com_ui_oauth_error_title') || 'Authentication Failed'}

-

{getErrorMessage(error)}

+

{getErrorMessage(error)}

); } @@ -353,7 +353,7 @@ const FileItem = React.memo(function FileItem({ )}
- {error &&
{getErrorMessage(error)}
} + {error &&
{getErrorMessage(error)}
} ); }); diff --git a/client/src/components/ui/AdminSettingsDialog.tsx b/client/src/components/ui/AdminSettingsDialog.tsx index 92764999bd..9ddc6dae73 100644 --- a/client/src/components/ui/AdminSettingsDialog.tsx +++ b/client/src/components/ui/AdminSettingsDialog.tsx @@ -221,7 +221,7 @@ const AdminSettingsDialog: React.FC = ({ {showAdminWarning && selectedRole === SystemRoles.ADMIN && permission === Permissions.USE && ( -
+
{localize('com_ui_admin_access_warning')} {'\n'}