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 14, 2023
1 parent 08ea104 commit 6ec01ff
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 6ec01ff

Please sign in to comment.