11import { ExpandMore } from '@mui/icons-material' ;
22import { MouseEvent , useState } from 'react' ;
3- import { Avatar , AvatarGroup , Button , Popover , Typography , Divider } from '../../base' ;
3+ import { Avatar , AvatarGroup , Button , Divider , Popover , Typography } from '../../base' ;
44import { iconSmall } from '../../constants/iconsSizes' ;
55import { styled , useTheme } from '../../theme' ;
66import { DARK_TEAL_BLUE } from '../../theme/colors/colors' ;
@@ -144,9 +144,33 @@ const CollaboratorAvatarGroup = ({
144144 return (
145145 < CustomTooltip
146146 key = { clientID }
147+ componentsProps = { {
148+ tooltip : {
149+ sx : {
150+ background : theme . palette . background . paper ,
151+ color : theme . palette . text . primary ,
152+ boxShadow : theme . shadows [ 4 ]
153+ }
154+ } ,
155+ arrow : {
156+ sx : {
157+ color : theme . palette . background . paper
158+ }
159+ }
160+ } }
147161 title = {
148162 < div style = { { display : 'flex' , justifyContent : 'center' , flexDirection : 'column' } } >
149- < Typography style = { { display : 'flex' , justifyContent : 'center' , flexDirection : 'column' , margin : 'auto' , fontSize : '1rem' } } > { user . name } </ Typography >
163+ < Typography
164+ style = { {
165+ display : 'flex' ,
166+ justifyContent : 'center' ,
167+ flexDirection : 'column' ,
168+ margin : 'auto' ,
169+ fontSize : '1rem'
170+ } }
171+ >
172+ { user . name }
173+ </ Typography >
150174 < Divider />
151175 < Button
152176 size = "small"
@@ -156,7 +180,7 @@ const CollaboratorAvatarGroup = ({
156180 fontSize : '1rem' ,
157181 padding : '2px 8px' ,
158182 minWidth : 'auto' ,
159- marginTop : '4px '
183+ marginTop : '8px '
160184 } }
161185 >
162186 Open Recents
0 commit comments