From 554ee083ab24e8b695fbcec6a94abef57fa000ce Mon Sep 17 00:00:00 2001 From: Sergey Elpashev Date: Mon, 7 Apr 2025 15:59:04 +0300 Subject: [PATCH] feat: profile styles --- src/pages/profile_settings.module.scss | 4 +-- src/pages/profile_settings.tsx | 43 ++++++++++++++------------ 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/src/pages/profile_settings.module.scss b/src/pages/profile_settings.module.scss index 134a6b1..735a7c0 100644 --- a/src/pages/profile_settings.module.scss +++ b/src/pages/profile_settings.module.scss @@ -9,8 +9,8 @@ } .header_block__name { - @apply mt-5 flex w-full flex-col items-center justify-start gap-3; + @apply mt-5 flex h-fit w-full flex-col items-center justify-start gap-3; } .settings_block { - @apply flex h-full w-full flex-col items-center justify-center; + @apply mt-12 flex h-full w-full flex-col items-center justify-start md:mt-0 md:justify-center; } diff --git a/src/pages/profile_settings.tsx b/src/pages/profile_settings.tsx index 58d9e25..da9497a 100644 --- a/src/pages/profile_settings.tsx +++ b/src/pages/profile_settings.tsx @@ -9,27 +9,30 @@ const ProfileSettings: FunctionComponent = () => { const { route } = useLocation(); return (
-
+
{/* Вынести классы в стили */} -
Аватар
-
-

Никнейм

-

Статус

-
-
-
-
- - - +
Аватар
+
+
+

Никнейм

+

Статус

+
+ +
+
+ + + +
+