Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enhancements to page (palm.master) #576

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = (
<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 @@ -32,7 +32,7 @@ const CommentsView = ({

const handleDefinition = (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: 14 additions & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,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 @@ -486,6 +490,11 @@ header {
z-index: 1;
}

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

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

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