enhance ui and fix layout problems (#63)
This commit is contained in:
@@ -9,10 +9,10 @@ interface Props {
|
||||
export const SidebarButton: FC<Props> = ({ text, icon, onClick }) => {
|
||||
return (
|
||||
<div
|
||||
className="flex hover:bg-[#343541] py-2 px-2 rounded-md cursor-pointer w-full items-center"
|
||||
className="flex py-3 px-3 gap-3 rounded-md hover:bg-gray-500/10 transition-colors duration-200 text-white cursor-pointer w-full items-center"
|
||||
onClick={onClick}
|
||||
>
|
||||
<div className="mr-2">{icon}</div>
|
||||
<div className="">{icon}</div>
|
||||
<div>{text}</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user