Skip to content

Commit

Permalink
feat: Enhancements to page (quince.master) (#578)
Browse files Browse the repository at this point in the history
* feat: fixed page styles
  • Loading branch information
vladislavkeblysh authored Dec 14, 2023
1 parent cbb35e7 commit e9e3db5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/discussions/common/AuthorLabel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const AuthorLabel = ({

const authorName = useMemo(() => (
<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,
})}
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
15 changes: 15 additions & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}
Expand Down Expand Up @@ -488,6 +492,11 @@ header {
z-index: 1;
}

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

.post-preview,
.discussion-comments {
blockquote {
Expand Down Expand Up @@ -529,3 +538,9 @@ header {
left: 50%;
transform: translate(-50%, -50%);
}

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

0 comments on commit e9e3db5

Please sign in to comment.