avatar don't shrink
This commit is contained in:
parent
9fad765c50
commit
8558a7b715
|
|
@ -13,7 +13,7 @@ const Avatar = ({ user }: any) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return <div className='avatar'><img src={avatar} alt="avatar" className='rounded-full w-16 h-16 cursor-pointer' /></div>;
|
return <div className='avatar shrink-0'><img src={avatar} alt="avatar" className='rounded-full w-16 h-16 cursor-pointer' /></div>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default Avatar;
|
export default Avatar;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
import { FaPlus } from 'react-icons/fa';
|
import { FaPlus } from 'react-icons/fa';
|
||||||
import {newMessage} from '@controllers/MessageController';
|
import {newMessage} from '@controllers/MessageController';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue