chore: image rounded

This commit is contained in:
Tristan Yang
2022-11-04 17:07:25 +08:00
parent f45960a7aa
commit f677b2977c
4 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ type Props = {
const Icon = ({ handleClick }: Props) => {
const { logo } = useAppSelector(store => store.server);
if (!logo) return null;
return <button className="rounded-full w-12 h-12" onClick={handleClick}>
<img src={logo} alt="logo" className="w-full h-full" />
return <button className="rounded-full w-12 h-12 overflow-hidden" onClick={handleClick}>
<img src={logo} alt="logo" className="w-full h-full rounded-full" />
</button>;
};