Skip to content

Commit

Permalink
Get rid of text wrap in search header
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaydenkim committed Jan 15, 2025
1 parent 26c9daa commit 78b408b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/modules/Results/Components/ResultsDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export const ResultsDisplay = ({
<div className={styles.layout} data-cy="results-display">
{/* Case where no results returned */}
<div className={styles.leftbar}>
{courseList.length !== 0 && <h1> Search Results </h1>}
{courseList.length !== 0 && <h1 className={styles.header}> Search Results </h1>}
{/*<button*/}
{/* className={styles.filterbutton}*/}
{/* onClick={() => setSearchListViewEnabled(!searchListViewEnabled)}*/}
Expand Down
5 changes: 3 additions & 2 deletions client/src/modules/Results/Styles/Results.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ html {
flex-flow: column nowrap;
}

.leftbar > h1 {
.header {
width: 100%;
white-space: nowrap;
margin-bottom: 30px;
}

Expand Down Expand Up @@ -191,7 +192,7 @@ html {
padding: 36px 25px;
}

.leftbar > h1 {
.header {
margin-bottom: 10px;
}

Expand Down

0 comments on commit 78b408b

Please sign in to comment.