From 94f9e77203f68a5bde3d25c2fcaa0560f854ca0a Mon Sep 17 00:00:00 2001 From: kvakazyambra Date: Mon, 21 Nov 2022 00:23:12 +0300 Subject: [PATCH] Style fixes --- src/components/Discours/Banner.module.scss | 5 - src/components/Discours/Banner.tsx | 28 +++-- src/components/Discours/Footer.module.scss | 6 - src/components/Discours/Footer.tsx | 2 +- src/components/Discours/Hero.scss | 4 - src/components/Discours/Hero.tsx | 58 ++++----- src/components/Discours/Subscribe.module.scss | 4 + src/components/Feed/Beside.tsx | 118 +++++++++--------- src/components/Feed/Group.tsx | 112 +++++++++-------- src/components/Feed/Row1.tsx | 8 +- src/components/Feed/Row2.tsx | 35 +++--- src/components/Feed/Row3.tsx | 20 +-- src/components/Feed/Row5.tsx | 24 ++-- src/components/Feed/RowShort.tsx | 34 ++--- src/components/Feed/Slider.tsx | 56 +++++---- src/components/Views/AllAuthors.tsx | 86 +++++++------ src/components/Views/AllTopics.tsx | 36 +++--- src/styles/app.scss | 17 ++- 18 files changed, 331 insertions(+), 322 deletions(-) diff --git a/src/components/Discours/Banner.module.scss b/src/components/Discours/Banner.module.scss index 5a8bfc89..667b4a79 100644 --- a/src/components/Discours/Banner.module.scss +++ b/src/components/Discours/Banner.module.scss @@ -29,13 +29,8 @@ display: flex; flex-direction: column; justify-content: center; - padding-left: 0; padding-top: 1em; - @include media-breakpoint-up(sm) { - padding-left: $grid-gutter-width; - } - a { display: inline-block; margin: 0 1em 1em 0; diff --git a/src/components/Discours/Banner.tsx b/src/components/Discours/Banner.tsx index f14d2a8e..ed9bd925 100644 --- a/src/components/Discours/Banner.tsx +++ b/src/components/Discours/Banner.tsx @@ -6,19 +6,21 @@ import { clsx } from 'clsx' export default () => { return (
-
-
-

{t('Discours is created with our common effort')}

-

- {t('Support us')} - {t('Become an author')} - showModal('auth')}> - {t('Join the community')} - -

-
-
- {t('Discours')} +
+
+
+

{t('Discours is created with our common effort')}

+

+ {t('Support us')} + {t('Become an author')} + showModal('auth')}> + {t('Join the community')} + +

+
+
+ {t('Discours')} +
diff --git a/src/components/Discours/Footer.module.scss b/src/components/Discours/Footer.module.scss index 990b9ed6..624d5a47 100644 --- a/src/components/Discours/Footer.module.scss +++ b/src/components/Discours/Footer.module.scss @@ -34,12 +34,6 @@ margin-top: 0.8rem; } - .wideContainer { - @include media-breakpoint-down(sm) { - padding: 0 $container-padding-x; - } - } - ::selection { background: #fff; color: #000; diff --git a/src/components/Discours/Footer.tsx b/src/components/Discours/Footer.tsx index 1f5fe364..f22423d3 100644 --- a/src/components/Discours/Footer.tsx +++ b/src/components/Discours/Footer.tsx @@ -109,7 +109,7 @@ export const Footer = () => { ] return (