Skip to content

Commit

Permalink
fix: use span with white-space: pre-wrap instead of nbsp.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturGaspar committed Oct 13, 2023
1 parent 33a4c43 commit 9168b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editors/sharedComponents/SelectionModal/SearchSort.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const SearchSort = ({
>
<span className="search-sort-menu-by">
<FormattedMessage {...messages.sortBy} />
&nbsp;
<span style={{ whiteSpace: 'pre-wrap' }}> </span>
</span>
<FormattedMessage {...sortMessages[key]} />
</MenuItem>
Expand Down

0 comments on commit 9168b50

Please sign in to comment.