Update settings button style

This commit is contained in:
Xiangxuan Liu
2023-03-18 23:40:05 +08:00
parent 6bf8bacec0
commit 934ba277a6
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -9,10 +9,10 @@ interface Props {
export const SidebarButton: FC<Props> = ({ text, icon, onClick }) => {
return (
<div
className="flex hover:bg-[#343541] py-2 px-4 rounded-md cursor-pointer w-[200px] items-center"
className="flex hover:bg-[#343541] py-2 px-2 rounded-md cursor-pointer w-full items-center"
onClick={onClick}
>
<div className="mr-3">{icon}</div>
<div className="mr-2">{icon}</div>
<div>{text}</div>
</div>
);