Skip to content

Commit

Permalink
Fix option alignment a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
wdsrocha committed Jul 16, 2020
1 parent cb9a8c2 commit 1b57356
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions react/components/Combobox.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@
background-color: transparent;
}

.option:not([data-current=""]) {
padding-left: 2.125rem;
}

.option[data-current=""] {
padding-left: 0;
}

.option[data-current=""] .selectedIcon {
display: block;
}

.popover {
box-shadow: 0px 1px 16px rgba(46, 46, 46, 0.12);
}
2 changes: 1 addition & 1 deletion react/components/Combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const ComboboxOption: React.FC<ReachComboboxOptionProps & {
>
{children ?? (
<>
<Icon />
<Icon className="ml5 mr4" />
<ReachComboboxOptionText />
</>
)}
Expand Down

0 comments on commit 1b57356

Please sign in to comment.