diff --git a/src/components/menu.module.scss b/src/components/menu.module.scss index c4c5a14..bcf5acf 100644 --- a/src/components/menu.module.scss +++ b/src/components/menu.module.scss @@ -9,5 +9,5 @@ } .menu_item { - @apply flex w-full cursor-pointer flex-row items-center gap-3 rounded-full px-3 py-2 text-center hover:bg-gray-200 md:px-6; + @apply flex w-full flex-1/3 cursor-pointer flex-row items-center justify-center gap-3 rounded-full px-3 py-2 text-center hover:bg-gray-200 md:flex-initial md:justify-start md:px-6; } diff --git a/src/components/menu.tsx b/src/components/menu.tsx index dd1c92e..d4ff24f 100644 --- a/src/components/menu.tsx +++ b/src/components/menu.tsx @@ -29,7 +29,7 @@ const MenuItem: FunctionComponent = ({ title, link, icon }: MenuI return (
route(link, true)}> {icon} - {title} +
); }; diff --git a/src/components/task.module.scss b/src/components/task.module.scss index c1242a6..466c38e 100644 --- a/src/components/task.module.scss +++ b/src/components/task.module.scss @@ -1,5 +1,5 @@ @reference "../index.scss"; .task { - @apply flex h-24 w-[300px] cursor-pointer flex-row items-center justify-start gap-4 rounded-[3rem] bg-[rgba(251,194,199,0.53)] px-5 py-6 text-xl shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] transition-transform hover:scale-[1.05] hover:bg-[rgba(251,194,199,0.7)] active:scale-[1.05] md:w-[500px]; + @apply flex h-24 w-full cursor-pointer flex-row items-center justify-start gap-4 rounded-[3rem] bg-[rgba(251,194,199,0.53)] px-5 py-6 text-xl shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)] transition-transform hover:scale-[1.05] hover:bg-[rgba(251,194,199,0.7)] active:scale-[1.05] md:w-[500px]; } diff --git a/src/components/task.tsx b/src/components/task.tsx index ca436d7..30f07b8 100644 --- a/src/components/task.tsx +++ b/src/components/task.tsx @@ -30,7 +30,7 @@ const markStyle = tv({ const Task: FunctionComponent = ({ name, checked = false }: TaskProps) => { return ( // Временное действие для тестирования -