Skip to content

Commit

Permalink
feat: fixed page styles
Browse files Browse the repository at this point in the history
  • Loading branch information
vladislavkeblysh committed Oct 12, 2023
1 parent 6721225 commit 6f0bc04
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/discussions/common/AuthorLabel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const AuthorLabel = ({
})}
role="heading"
aria-level="2"
style={{ lineHeight: 1, wordBreak: 'break-all' }}
>
{isRetiredUser ? '[Deactivated]' : author}
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/discussions/post-comments/comments/CommentsView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const CommentsView = ({ endorsed }) => {

const handleDefinition = useCallback((message, commentsLength) => (
<div
className="mx-4 my-14px text-gray-700 font-style"
className="comment-line mx-4 my-14px text-gray-700 font-style"
role="heading"
aria-level="2"
>
Expand Down
14 changes: 13 additions & 1 deletion src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,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 {
Expand Down Expand Up @@ -479,7 +487,7 @@ header {
}

.font-style {
font-family: "Inter";
font-family: inherit;
font-style: normal;
}

Expand All @@ -496,6 +504,10 @@ header {
z-index: 1;
}

.comment-line {
width: calc(100% - 180px);
}

.post-preview,
.discussion-comments {
blockquote {
Expand Down

0 comments on commit 6f0bc04

Please sign in to comment.