diff --git a/client/components/Articles/Article/Article.module.css b/client/components/Articles/Article/Article.module.css index 3380ac0..d770107 100644 --- a/client/components/Articles/Article/Article.module.css +++ b/client/components/Articles/Article/Article.module.css @@ -12,6 +12,7 @@ padding-right: 0; padding-bottom: 0; padding-left: 0; + margin-bottom: 24px; } .ArticleControls { @@ -157,13 +158,15 @@ } .ArticleAside { - flex-shrink: 0; - flex-basis: 25%; - margin-top: 56px; - padding: 24px 0; + margin-top: 40px; + padding-top: 24px; border-top: 2px solid #eee; } +.ArticleAsideFeedback { + display: none; +} + .ArticleText { flex-grow: 1; } @@ -222,7 +225,7 @@ @media screen and (min-width: 1200px) { .ArticleContent { display: flex; - gap: 16px; + gap: 48px; } .ArticleBack { @@ -231,13 +234,26 @@ } .ArticleAside { + flex-shrink: 0; + flex-basis: 25%; margin: 0; padding: 0; border: 0; } + + .ArticleAsideFeedback { + display: flex; + flex-direction: column; + margin-top: 8px; + margin-bottom: 48px; + } } @media screen and (min-width: 1440px) { + .ArticleContent { + gap: 96px; + } + .ArticleBack { font-size: 26px; margin-left: -16px; diff --git a/client/components/Articles/Article/Article.tsx b/client/components/Articles/Article/Article.tsx index dfa9f81..036eab6 100644 --- a/client/components/Articles/Article/Article.tsx +++ b/client/components/Articles/Article/Article.tsx @@ -29,8 +29,13 @@ export function Article({ title, description, sidebar, external }: ArticleProps) {title &&

{title}

} {description &&
}
- {sidebar &&