From d7255415ef01cbe21dd56a7a33f731a8135bea89 Mon Sep 17 00:00:00 2001 From: vladislavkeblysh Date: Thu, 12 Oct 2023 15:40:40 +0300 Subject: [PATCH 1/2] feat: fixed page styles --- src/discussions/common/AuthorLabel.jsx | 1 + .../post-comments/comments/CommentsView.jsx | 2 +- src/index.scss | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/discussions/common/AuthorLabel.jsx b/src/discussions/common/AuthorLabel.jsx index b694e0570..93fa0c9ce 100644 --- a/src/discussions/common/AuthorLabel.jsx +++ b/src/discussions/common/AuthorLabel.jsx @@ -57,6 +57,7 @@ const AuthorLabel = ({ })} role="heading" aria-level="2" + style={{ lineHeight: 1, wordBreak: 'break-all' }} > {isRetiredUser ? '[Deactivated]' : author} diff --git a/src/discussions/post-comments/comments/CommentsView.jsx b/src/discussions/post-comments/comments/CommentsView.jsx index e737a531d..cda53159d 100644 --- a/src/discussions/post-comments/comments/CommentsView.jsx +++ b/src/discussions/post-comments/comments/CommentsView.jsx @@ -32,7 +32,7 @@ const CommentsView = ({ const handleDefinition = (message, commentsLength) => (
diff --git a/src/index.scss b/src/index.scss index 9720906f7..1692beaa5 100755 --- a/src/index.scss +++ b/src/index.scss @@ -338,9 +338,17 @@ header { .nav-item:not(:last-child){ .nav-link { border-right: 0; + + @media screen and (max-width: 567px) { + border-right: solid 1px #e9e6e4; + } } } } + + button { + font-family: inherit; + } } .breadcrumb-menu { @@ -486,6 +494,10 @@ header { z-index: 1; } +.comment-line { + width: calc(100% - 180px); +} + .post-preview, .discussion-comments { blockquote { From f8daf7abee67a177d59f27d46b78f1ed39d27d27 Mon Sep 17 00:00:00 2001 From: vladislavkeblysh Date: Sat, 25 Nov 2023 15:09:46 +0200 Subject: [PATCH 2/2] feat: fixed page styles --- src/discussions/common/AuthorLabel.jsx | 3 +-- src/index.scss | 10 ++++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/discussions/common/AuthorLabel.jsx b/src/discussions/common/AuthorLabel.jsx index 93fa0c9ce..0e7e19721 100644 --- a/src/discussions/common/AuthorLabel.jsx +++ b/src/discussions/common/AuthorLabel.jsx @@ -51,13 +51,12 @@ const AuthorLabel = ({ const authorName = ( {isRetiredUser ? '[Deactivated]' : author} diff --git a/src/index.scss b/src/index.scss index 1692beaa5..3b621ae8e 100755 --- a/src/index.scss +++ b/src/index.scss @@ -345,10 +345,6 @@ header { } } } - - button { - font-family: inherit; - } } .breadcrumb-menu { @@ -496,6 +492,7 @@ header { .comment-line { width: calc(100% - 180px); + line-height: 1; } .post-preview, @@ -522,3 +519,8 @@ header { font-size: 18px; line-height: 28px; } + +.author-name { + line-height: 1; + word-break: break-all; +}