Skip to content

Commit

Permalink
[@mantine/core] Combobox: Fix inconsistent horizontal dropdown padding
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Jul 13, 2024
1 parent 200f580 commit b27d64b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
--combobox-padding: 4px;
padding: var(--combobox-padding);

&:has([data-mantine-scrollbar]) {
padding-inline-end: 0;
}

&[data-hidden] {
display: none;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export function Usage() {
placeholder="Select something"
onChange={console.log}
allowDeselect={false}
dropdownOpened
/>
</div>
);
Expand Down

0 comments on commit b27d64b

Please sign in to comment.