Skip to content

Commit e9e3db5

Browse files
feat: Enhancements to page (quince.master) (#578)
* feat: fixed page styles
1 parent cbb35e7 commit e9e3db5

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

src/discussions/common/AuthorLabel.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const AuthorLabel = ({
5151

5252
const authorName = useMemo(() => (
5353
<span
54-
className={classNames('mr-1.5 font-size-14 font-style font-weight-500', {
54+
className={classNames('mr-1.5 font-size-14 font-style font-weight-500 author-name', {
5555
'text-gray-700': isRetiredUser,
5656
'text-primary-500': !authorLabelMessage && !isRetiredUser,
5757
})}

src/discussions/post-comments/comments/CommentsView.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const CommentsView = ({ endorsed }) => {
3636

3737
const handleDefinition = useCallback((message, commentsLength) => (
3838
<div
39-
className="mx-4 my-14px text-gray-700 font-style"
39+
className="comment-line mx-4 my-14px text-gray-700 font-style"
4040
role="heading"
4141
aria-level="2"
4242
>

src/index.scss

+15
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ header {
340340
.nav-item:not(:last-child){
341341
.nav-link {
342342
border-right: 0;
343+
344+
@media screen and (max-width: 567px) {
345+
border-right: solid 1px #e9e6e4;
346+
}
343347
}
344348
}
345349
}
@@ -488,6 +492,11 @@ header {
488492
z-index: 1;
489493
}
490494

495+
.comment-line {
496+
width: calc(100% - 180px);
497+
line-height: 1;
498+
}
499+
491500
.post-preview,
492501
.discussion-comments {
493502
blockquote {
@@ -529,3 +538,9 @@ header {
529538
left: 50%;
530539
transform: translate(-50%, -50%);
531540
}
541+
542+
.author-name {
543+
line-height: 1;
544+
word-break: break-all;
545+
}
546+

0 commit comments

Comments
 (0)