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 Nov 25, 2023
1 parent d725541 commit f8daf7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/discussions/common/AuthorLabel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ const AuthorLabel = ({

const authorName = (
<span
className={classNames('mr-1.5 font-size-14 font-style font-weight-500', {
className={classNames('mr-1.5 font-size-14 font-style font-weight-500 author-name', {
'text-gray-700': isRetiredUser,
'text-primary-500': !authorLabelMessage && !isRetiredUser,
})}
role="heading"
aria-level="2"
style={{ lineHeight: 1, wordBreak: 'break-all' }}
>
{isRetiredUser ? '[Deactivated]' : author}
</span>
Expand Down
10 changes: 6 additions & 4 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -345,10 +345,6 @@ header {
}
}
}

button {
font-family: inherit;
}
}

.breadcrumb-menu {
Expand Down Expand Up @@ -496,6 +492,7 @@ header {

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

.post-preview,
Expand All @@ -522,3 +519,8 @@ header {
font-size: 18px;
line-height: 28px;
}

.author-name {
line-height: 1;
word-break: break-all;
}

0 comments on commit f8daf7a

Please sign in to comment.