File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ const AuthorLabel = ({
99
99
100
100
return showUserNameAsLink
101
101
? (
102
- < div className = { className } >
102
+ < div className = { ` ${ className } flex-wrap` } >
103
103
< Link
104
104
data-testid = "learner-posts-link"
105
105
id = "learner-posts-link"
@@ -112,7 +112,7 @@ const AuthorLabel = ({
112
112
{ labelContents }
113
113
</ div >
114
114
)
115
- : < div className = { className } > { authorName } { labelContents } </ div > ;
115
+ : < div className = { ` ${ className } flex-wrap` } > { authorName } { labelContents } </ div > ;
116
116
} ;
117
117
118
118
AuthorLabel . propTypes = {
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const DiscussionSidebar = ({ displaySidebar, postActionBarRef }) => {
50
50
'd-none' : ! displaySidebar ,
51
51
'd-flex overflow-auto box-shadow-centered-1' : displaySidebar ,
52
52
'w-100' : ! isOnDesktop ,
53
- 'sidebar-desktop-width' : isOnDesktop && ! isOnXLDesktop ,
53
+ 'w-25 sidebar-desktop-width' : isOnDesktop && ! isOnXLDesktop ,
54
54
'w-25 sidebar-XL-width' : isOnXLDesktop ,
55
55
'min-content-height' : ! enableInContextSidebar ,
56
56
} ) }
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ const Reply = ({ responseId }) => {
131
131
className = "bg-light-300 pl-4 pt-2.5 pr-2.5 pb-10px flex-fill"
132
132
style = { { borderRadius : '0rem 0.375rem 0.375rem' } }
133
133
>
134
- < div className = "d-flex flex-row justify-content-between" style = { { height : '24px' } } >
134
+ < div className = "d-flex flex-row justify-content-between" >
135
135
< AuthorLabel
136
136
author = { author }
137
137
authorLabel = { authorLabel }
Original file line number Diff line number Diff line change @@ -230,6 +230,10 @@ header {
230
230
231
231
.sidebar-desktop-width {
232
232
min-width : 29rem !important ;
233
+
234
+ @include media-breakpoint-down (lg) {
235
+ min-width : 25rem !important ;
236
+ }
233
237
}
234
238
235
239
.sidebar-XL-width {
@@ -480,6 +484,10 @@ code {
480
484
display : flex ;
481
485
}
482
486
}
487
+
488
+ .pgn__avatar {
489
+ flex-shrink : 0 ;
490
+ }
483
491
}
484
492
485
493
.spinner-dimensions {
@@ -560,7 +568,7 @@ code {
560
568
}
561
569
562
570
.author-name {
563
- line-height : 1 ;
571
+ line-height : 1.5 ;
564
572
word-break : break-all ;
565
573
}
566
574
You can’t perform that action at this time.
0 commit comments