File tree Expand file tree Collapse file tree 12 files changed +112
-32
lines changed Expand file tree Collapse file tree 12 files changed +112
-32
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ const ActionsDropdown = ({
99
99
src = { action . icon }
100
100
className = "icon-size-24"
101
101
/>
102
- < span className = "font-weight-normal font-xl ml-2" >
102
+ < span className = "font-weight-normal ml-2" >
103
103
{ intl . formatMessage ( action . label ) }
104
104
</ span >
105
105
</ Dropdown . Item >
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const AuthorLabel = ({
38
38
39
39
const authorName = useMemo ( ( ) => (
40
40
< span
41
- className = { classNames ( 'mr-1.5 font-size-14 font- style font-weight-500 author-name' , {
41
+ className = { classNames ( 'mr-1.5 font-style font-weight-500 author-name' , {
42
42
'text-gray-700' : isRetiredUser ,
43
43
'text-primary-500' : ! authorLabelMessage && ! isRetiredUser ,
44
44
} ) }
@@ -71,7 +71,7 @@ const AuthorLabel = ({
71
71
/>
72
72
{ authorLabelMessage && (
73
73
< span
74
- className = { classNames ( 'mr-1.5 font-size-14 font- style font-weight-500' , {
74
+ className = { classNames ( 'mr-1.5 font-style font-weight-500' , {
75
75
'text-primary-500' : showTextPrimary ,
76
76
'text-gray-700' : isRetiredUser ,
77
77
} ) }
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const ContentUnavailable = ({ subTitleMessage }) => {
35
35
{ intl . formatMessage ( messages . contentUnavailableTitle ) }
36
36
</ h3 >
37
37
< p className = "pb-2 text-gray-500 text-center" > { intl . formatMessage ( subTitleMessage ) } </ p >
38
- < Button onClick = { redirectToDashboard } variant = "outline-dark" className = "font-size-14 py-2 px-2.5" >
38
+ < Button onClick = { redirectToDashboard } variant = "outline-dark" className = "py-2 px-2.5" >
39
39
{ intl . formatMessage ( messages . contentUnavailableAction ) }
40
40
</ Button >
41
41
</ div >
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const DiscussionsHome = () => {
82
82
< Suspense fallback = { ( < Spinner /> ) } >
83
83
< DiscussionContext . Provider value = { discussionContextValue } >
84
84
{ ! enableInContextSidebar && ( < Header courseOrg = { org } courseNumber = { courseNumber } courseTitle = { courseTitle } /> ) }
85
- < main className = "container-fluid d-flex flex-column p-0 w-100" id = "main" tabIndex = "-1" >
85
+ < main className = "container-fluid d-flex flex-column p-0 w-100 font-size " id = "main" tabIndex = "-1" >
86
86
{ ! enableInContextSidebar && < CourseTabsNavigation /> }
87
87
{ ( isEnrolled || ! isUserLearner ) && (
88
88
< div
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const LearnerCard = ({ learner }) => {
37
37
< div className = "d-flex flex-column justify-content-start mw-100 flex-fill" >
38
38
< div className = "d-flex align-items-center flex-fill" >
39
39
< div
40
- className = "text-truncate font-weight-500 font-size-14 text-primary-500 font-style"
40
+ className = "text-truncate font-weight-500 text-primary-500 font-style"
41
41
>
42
42
{ username }
43
43
</ div >
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ const CommentsView = ({ threadType }) => {
73
73
onClick = { handleLoadMoreResponses }
74
74
variant = "link"
75
75
block = "true"
76
- className = "px-4 mt-3 border-0 line-height-24 py-0 mb-2 font-style font-weight-500 font-size-14 "
76
+ className = "px-4 mt-3 border-0 line-height-24 py-0 mb-2 font-style font-weight-500"
77
77
data-testid = "load-more-comments"
78
78
>
79
79
{ intl . formatMessage ( messages . loadMoreResponses ) }
@@ -92,7 +92,7 @@ const CommentsView = ({ threadType }) => {
92
92
variant = "plain"
93
93
block = "true"
94
94
className = "card mb-4 px-0 border-0 py-10px mt-2 font-style font-weight-500
95
- line-height-24 font-size-14 text-primary-500"
95
+ line-height-24 text-primary-500"
96
96
onClick = { handleAddResponse }
97
97
data-testid = "add-response"
98
98
>
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ const Comment = ({
249
249
onClick = { handleLoadMoreComments }
250
250
variant = "link"
251
251
block = "true"
252
- className = "font-size-14 line-height-24 font-style pt-10px border-0 font-weight-500 pb-0"
252
+ className = "line-height-24 font-style pt-10px border-0 font-weight-500 pb-0"
253
253
data-testid = "load-more-comments-responses"
254
254
>
255
255
{ intl . formatMessage ( messages . loadMoreComments ) }
@@ -267,7 +267,7 @@ const Comment = ({
267
267
) : (
268
268
! isClosed && isUserPrivilegedInPostingRestriction && ( inlineReplies . length >= 5 ) && (
269
269
< Button
270
- className = "d-flex flex-grow mt-2 font-size-14 font- style font-weight-500 text-primary-500 add-comment-btn rounded-0"
270
+ className = "d-flex flex-grow mt-2 font-style font-weight-500 text-primary-500 add-comment-btn rounded-0"
271
271
variant = "plain"
272
272
style = { { height : '36px' } }
273
273
onClick = { handleAddCommentReply }
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ const PostEditor = ({
241
241
resetForm,
242
242
} ) => (
243
243
< Form className = "m-4 card p-4 post-form" onSubmit = { handleSubmit } >
244
- < h4 className = "mb-4 font-style font-size-16 " style = { { lineHeight : '16px' } } >
244
+ < h4 className = "mb-4 font-style" style = { { lineHeight : '16px' } } >
245
245
{ editExisting
246
246
? intl . formatMessage ( messages . editPostHeading )
247
247
: intl . formatMessage ( messages . addPostHeading ) }
@@ -423,7 +423,7 @@ const PostEditor = ({
423
423
onBlur = { handleBlur }
424
424
className = "mr-4.5"
425
425
>
426
- < span className = "font-size-14" >
426
+ < span >
427
427
{ intl . formatMessage ( messages . followPost ) }
428
428
</ span >
429
429
</ Form . Checkbox >
@@ -436,7 +436,7 @@ const PostEditor = ({
436
436
onChange = { handleChange }
437
437
onBlur = { handleBlur }
438
438
>
439
- < span className = "font-size-14" >
439
+ < span >
440
440
{ intl . formatMessage ( messages . anonymousToPeersPost ) }
441
441
</ span >
442
442
</ Form . Checkbox >
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export const ActionItem = React.memo(({
44
44
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
45
45
tabIndex = { value === selected ? '0' : '-1' }
46
46
>
47
- < Icon src = { Check } className = { classNames ( 'text-success mr-2 ' , { invisible : value !== selected } ) } />
47
+ < Icon src = { Check } className = { classNames ( 'text-success dropdown-icon-dimensions ' , { invisible : value !== selected } ) } />
48
48
< Form . Radio id = { id } className = "sr-only sr-only-focusable" value = { value } tabIndex = "0" >
49
49
{ label }
50
50
</ Form . Radio >
Original file line number Diff line number Diff line change @@ -206,13 +206,9 @@ const Post = ({ handleAddResponseButton }) => {
206
206
) }
207
207
>
208
208
{ ( topicContext && ! topic ) ? (
209
- < >
210
- < span className = "w-auto" > { topicContext . chapterName } </ span >
211
- < span className = "mx-1" > /</ span >
212
- < span className = "w-auto" > { topicContext . verticalName } </ span >
213
- < span className = "mx-1" > /</ span >
214
- < span className = "w-auto" > { topicContext . unitName } </ span >
215
- </ >
209
+ < span >
210
+ { topicContext . chapterName } / { topicContext . verticalName } / { topicContext . unitName }
211
+ </ span >
216
212
) : (
217
213
getTopicInfo ( topic )
218
214
) }
You can’t perform that action at this time.
0 commit comments