From 7462e00cc358cd146cd9128f3bdaffdfc9e9ce38 Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Thu, 3 Nov 2022 00:55:29 +0300 Subject: [PATCH] Popup minor style fix --- src/components/Nav/Popup.module.scss | 5 +++++ src/components/Nav/ProfilePopup.tsx | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/Nav/Popup.module.scss b/src/components/Nav/Popup.module.scss index 75ca81ad..8ba0beff 100644 --- a/src/components/Nav/Popup.module.scss +++ b/src/components/Nav/Popup.module.scss @@ -36,6 +36,11 @@ } } + .topBorderItem { + border-top: 2px solid; + padding-top: 1em; + } + a { border: none; white-space: nowrap; diff --git a/src/components/Nav/ProfilePopup.tsx b/src/components/Nav/ProfilePopup.tsx index 0a3f7a28..204034d0 100644 --- a/src/components/Nav/ProfilePopup.tsx +++ b/src/components/Nav/ProfilePopup.tsx @@ -1,5 +1,6 @@ import { Popup, PopupProps } from './Popup' import { signOut, useAuthStore } from '../../stores/auth' +import styles from './Popup.module.scss' type ProfilePopupProps = Omit @@ -27,7 +28,7 @@ export const ProfilePopup = (props: ProfilePopupProps) => {
  • Настройки
  • -
  • +
  • {