From 946a78a7efec03712515ed9157a25217d19b58e3 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 20 Jul 2022 16:07:08 +0700 Subject: [PATCH] fixed deactivated unit color --- src/components/comment/CommentAvatar/index.tsx | 4 +--- src/containers/profile/ProfileQuickInfo/index.tsx | 2 +- src/containers/profile/ProfileQuickInfo/styles.module.scss | 3 +++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/comment/CommentAvatar/index.tsx b/src/components/comment/CommentAvatar/index.tsx index 2ca7dc60..abeddbb5 100644 --- a/src/components/comment/CommentAvatar/index.tsx +++ b/src/components/comment/CommentAvatar/index.tsx @@ -1,6 +1,4 @@ -import React, { FC, useCallback, useState } from 'react'; - -import { Manager, Popper, Reference } from 'react-popper'; +import React, { FC } from 'react'; import { Avatar } from '~/components/common/Avatar'; import { MenuButton } from '~/components/menu'; diff --git a/src/containers/profile/ProfileQuickInfo/index.tsx b/src/containers/profile/ProfileQuickInfo/index.tsx index 799bf4cd..251cecce 100644 --- a/src/containers/profile/ProfileQuickInfo/index.tsx +++ b/src/containers/profile/ProfileQuickInfo/index.tsx @@ -34,7 +34,7 @@ const ProfileQuickInfo: FC = ({ user }) => {
~{user.username}
- {isActive ? 'в сознании' : 'деактивирован'} + {isActive ? 'юнит в сознании' : 'юнит деактивирован'}
diff --git a/src/containers/profile/ProfileQuickInfo/styles.module.scss b/src/containers/profile/ProfileQuickInfo/styles.module.scss index e1368da5..70d3e8f7 100644 --- a/src/containers/profile/ProfileQuickInfo/styles.module.scss +++ b/src/containers/profile/ProfileQuickInfo/styles.module.scss @@ -24,15 +24,18 @@ div.top.top { .username { font: $font_12_regular; opacity: 0.5; + text-transform: lowercase; } .fullname { margin-bottom: 3px; + text-transform: capitalize; } .status { font: $font_12_regular; margin-top: $gap; + color: darken(white, 50%); &.active { color: $olive;