From 6ae5130c147e2b9e03d7944bbf073bc75d8a8f88 Mon Sep 17 00:00:00 2001 From: vladislavkeblysh <138868841+vladislavkeblysh@users.noreply.github.com> Date: Mon, 18 Dec 2023 13:26:38 +0200 Subject: [PATCH] feat: fixed page styles (#577) --- 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 2730b829..c3c50a8b 100644 --- a/src/discussions/common/AuthorLabel.jsx +++ b/src/discussions/common/AuthorLabel.jsx @@ -50,7 +50,7 @@ const AuthorLabel = ({ const authorName = useMemo(() => ( { const handleDefinition = useCallback((message, commentsLength) => (
diff --git a/src/index.scss b/src/index.scss index 645fb298..9a0b721e 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; +}