diff --git a/src/components/Article/Article.module.scss b/src/components/Article/Article.module.scss index f1fca832..e7a90172 100644 --- a/src/components/Article/Article.module.scss +++ b/src/components/Article/Article.module.scss @@ -1,6 +1,5 @@ h1 { @include font-size(4rem); - line-height: 1.1; margin-top: 0.5em; } @@ -334,12 +333,7 @@ img { } .commentsViewSwitcher { - margin-top: 0; -} - -.commentsViewSwitcherButton { - padding-left: 0 !important; - padding-right: 0 !important; + margin-top: 0 !important; } .help { diff --git a/src/components/Article/CommentsTree.tsx b/src/components/Article/CommentsTree.tsx index 119d7a04..05ce0e97 100644 --- a/src/components/Article/CommentsTree.tsx +++ b/src/components/Article/CommentsTree.tsx @@ -115,35 +115,32 @@ export const CommentsTree = (props: Props) => { 0}> diff --git a/src/components/Author/Full.scss b/src/components/Author/Full.scss index 64ed0e27..d4a8c16c 100644 --- a/src/components/Author/Full.scss +++ b/src/components/Author/Full.scss @@ -16,8 +16,6 @@ .author-page { .view-switcher { - @include font-size(1.5rem); - margin-top: 0; button { diff --git a/src/components/Nav/Header.module.scss b/src/components/Nav/Header.module.scss index f9e9bb83..21e337e1 100644 --- a/src/components/Nav/Header.module.scss +++ b/src/components/Nav/Header.module.scss @@ -158,14 +158,14 @@ } .mainNavigation { - display: inline-flex; - font-weight: 500; - list-style: none; - margin: 0; + margin: 0 !important; opacity: 1; - padding: 0; transition: opacity 0.3s; + li { + margin-bottom: 0 !important; + } + @include media-breakpoint-down(md) { background: #fff; bottom: 0; @@ -180,7 +180,7 @@ z-index: 1; li { - margin-bottom: 2.4rem; + margin-bottom: 2.4rem !important; } } @@ -195,22 +195,6 @@ display: block !important; } } - - li { - margin-right: 2.4rem; - } - - a, - a:link { - border: none; - } - - .selected a { - border-bottom: 2px solid; - color: #000; - cursor: default; - pointer-events: none; - } } .headerWithTitle.headerScrolledBottom { diff --git a/src/components/Nav/Header.tsx b/src/components/Nav/Header.tsx index 87de7880..4f52d735 100644 --- a/src/components/Nav/Header.tsx +++ b/src/components/Nav/Header.tsx @@ -111,13 +111,10 @@ export const Header = (props: Props) => {
{props.title}
-