Skip to content

Commit

Permalink
add invisible space for margin options in select
Browse files Browse the repository at this point in the history
  • Loading branch information
zhelvis committed Jun 18, 2021
1 parent ae86da0 commit c59f892
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Extension/src/pages/common/components/ui/Select/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ import './select.pcss';

const renderOptions = (options) => options.map((option) => {
const { value, title } = option;
return <option key={value} value={value}>{title}</option>;

// &#8201 - Invisible thin space
return (
<option key={value} value={value}>
&#8201;
{title}
</option>
);
});

const Select = (props) => {
Expand Down

0 comments on commit c59f892

Please sign in to comment.