From 5cf243cedefb9e7f8c91c4f20dc5ba888e1ecfb1 Mon Sep 17 00:00:00 2001 From: vladislavkeblysh Date: Sat, 25 Nov 2023 14:50:04 +0200 Subject: [PATCH] feat: fixed page styles --- src/discussions/common/AuthorLabel.jsx | 2 +- .../post-comments/comments/CommentsView.jsx | 2 +- src/index.scss | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/discussions/common/AuthorLabel.jsx b/src/discussions/common/AuthorLabel.jsx index de673bf99..4562d39cc 100644 --- a/src/discussions/common/AuthorLabel.jsx +++ b/src/discussions/common/AuthorLabel.jsx @@ -51,7 +51,7 @@ const AuthorLabel = ({ const authorName = useMemo(() => ( { const handleDefinition = useCallback((message, commentsLength) => (
diff --git a/src/index.scss b/src/index.scss index 645fb2984..9a0b721e6 100755 --- a/src/index.scss +++ b/src/index.scss @@ -340,6 +340,10 @@ header { .nav-item:not(:last-child){ .nav-link { border-right: 0; + + @media screen and (max-width: 567px) { + border-right: solid 1px #e9e6e4; + } } } } @@ -488,6 +492,11 @@ header { z-index: 1; } +.comment-line { + width: calc(100% - 180px); + line-height: 1; +} + .post-preview, .discussion-comments { blockquote { @@ -529,3 +538,8 @@ header { left: 50%; transform: translate(-50%, -50%); } + +.author-name { + line-height: 1; + word-break: break-all; +}