centered pages and links

This commit is contained in:
marshennikovaolga
2024-09-11 11:49:24 +03:00
parent 266c29cae9
commit 1e0e139ad8
4 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ export const LinkItem: React.FC<LinkItemProps> = ({
onBlur={() => setActiveItemIndex(null)}
className={cn(
"relative cursor-default outline-none",
"grid grid-cols-[auto_1fr_auto] items-center gap-x-2 py-2 max-lg:px-4 sm:px-5 sm:py-2",
"mx-auto grid w-[98%] grid-cols-[auto_1fr_auto] items-center gap-x-2 rounded-lg p-2",
{
"bg-muted-foreground/5": isActive,
"hover:bg-muted/50": !isActive