From 56a66eca3833aa26a6a6417ef2f2e32db7830837 Mon Sep 17 00:00:00 2001 From: Ilya Y <75578537+ilya-bkv@users.noreply.github.com> Date: Sat, 6 Jan 2024 07:06:58 +0300 Subject: [PATCH] Fix/markup (#354) * fix markup --- public/locales/en/translation.json | 1 + public/locales/ru/translation.json | 1 + src/components/Views/Expo/Expo.module.scss | 4 ---- src/components/Views/Feed/Feed.module.scss | 1 + src/components/Views/Feed/Feed.tsx | 6 ++++++ src/components/_shared/DropDown/DropDown.module.scss | 4 ++++ src/components/_shared/DropDown/DropDown.tsx | 9 ++++++--- 7 files changed, 19 insertions(+), 7 deletions(-) diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 345452b4..fc967d81 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -362,6 +362,7 @@ "Suggest an idea": "Suggest an idea", "Support Discours": "Support Discours", "Support the project": "Support the project", + "Support us": "Support us", "Terms of use": "Site rules", "Text checking": "Text checking", "Thank you": "Thank you", diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json index fd2b671a..5694bc44 100644 --- a/public/locales/ru/translation.json +++ b/public/locales/ru/translation.json @@ -382,6 +382,7 @@ "Suggest an idea": "Предложить идею", "Support Discours": "Поддержите Дискурс", "Support the project": "Поддержать проект", + "Support us": "Помочь журналу", "Terms of use": "Правила сайта", "Text checking": "Проверка текста", "Thank you": "Благодарности", diff --git a/src/components/Views/Expo/Expo.module.scss b/src/components/Views/Expo/Expo.module.scss index bb32f0b4..190b4243 100644 --- a/src/components/Views/Expo/Expo.module.scss +++ b/src/components/Views/Expo/Expo.module.scss @@ -4,10 +4,6 @@ padding: 0 0 4rem; min-height: 100vh; - .navigation { - padding: 0; - } - .showMore { display: flex; width: 100%; diff --git a/src/components/Views/Feed/Feed.module.scss b/src/components/Views/Feed/Feed.module.scss index 3099733d..707b6431 100644 --- a/src/components/Views/Feed/Feed.module.scss +++ b/src/components/Views/Feed/Feed.module.scss @@ -205,6 +205,7 @@ margin-top: 0; margin-bottom: 0; min-width: 300px; + overflow: hidden; & > li { margin-bottom: 0; diff --git a/src/components/Views/Feed/Feed.tsx b/src/components/Views/Feed/Feed.tsx index 649792b6..907eab5d 100644 --- a/src/components/Views/Feed/Feed.tsx +++ b/src/components/Views/Feed/Feed.tsx @@ -203,6 +203,10 @@ export const Feed = (props: Props) => { ) const ogTitle = t('Feed') + const myPopupProps = { + horizontalAnchor: 'right', + } + return (