Skip to content

Commit

Permalink
Removed span and nbsp
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Aug 1, 2023
1 parent 3f21b3d commit 4662805
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions site/src/pages/SearchPage/CourseHitItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ const CourseHitItem: FC<CourseHitItemProps> = (props) => {
<div className='course-hit-id'>
<div>
<h3>
<span>{props.department}</span>
&nbsp;
<span>{props.number} {props.title}</span> {/* &nbsp; is not used between props.number & props.title so that props.title can wrap */}
{props.department} {props.number} {props.title}
</h3>
</div>
<CourseQuarterIndicator terms={props.terms} />
Expand Down

0 comments on commit 4662805

Please sign in to comment.