Skip to content

Commit

Permalink
Pull request #916: feature/AG-8661 fix styles
Browse files Browse the repository at this point in the history
Merge in EXTENSIONS/browser-extension from feature/AG-8661 to feature/AG-2737

Squashed commit of the following:

commit 19520ad
Author: Vladimir Zhelvis <v.zhelvis@adguard.com>
Date:   Fri Jun 18 15:26:05 2021 +0300

    change column padding in filtering event table

commit c59f892
Author: Vladimir Zhelvis <v.zhelvis@adguard.com>
Date:   Fri Jun 18 15:12:40 2021 +0300

    add invisible space for margin options in select
  • Loading branch information
zhelvis committed Jun 18, 2021
1 parent ae86da0 commit 8eb2d9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
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
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
}

& .th, & .td {
padding: 0 25px;
padding: 0 10px;
height: 30px;
display: inline-block;
width: 20%;
Expand Down

0 comments on commit 8eb2d9f

Please sign in to comment.