diff --git a/apps/meteor/client/components/UserCard/UserCard.tsx b/apps/meteor/client/components/UserCard/UserCard.tsx index 83edd9e3d8c..5678f360af3 100644 --- a/apps/meteor/client/components/UserCard/UserCard.tsx +++ b/apps/meteor/client/components/UserCard/UserCard.tsx @@ -1,5 +1,5 @@ import { css } from '@rocket.chat/css-in-js'; -import { Box, IconButton, Skeleton } from '@rocket.chat/fuselage'; +import { Box, Button, IconButton, Skeleton } from '@rocket.chat/fuselage'; import { useTranslation } from '@rocket.chat/ui-contexts'; import type { ReactNode, ComponentProps, MouseEvent } from 'react'; import React, { forwardRef } from 'react'; @@ -69,7 +69,7 @@ const UserCard = forwardRef(function UserCard( const isLayoutEmbedded = useEmbeddedLayout(); return ( - + {!isLoading && username ? ( @@ -88,7 +88,7 @@ const UserCard = forwardRef(function UserCard( )} - + {isLoading ? : } {nickname && ( @@ -113,13 +113,15 @@ const UserCard = forwardRef(function UserCard( {typeof bio === 'string' ? : bio} )} - {!isLoading && open && !isLayoutEmbedded && {t('See_full_profile')}} + {!isLoading && open && !isLayoutEmbedded && ( +
+ +
+ )}
- {onClose && ( - - - - )} + {onClose && }
); });