Skip to content

Commit

Permalink
fix: modal picker selection tag background
Browse files Browse the repository at this point in the history
The background of the selection changed, but the opacity is also applied
to the tags.

Changed selection tags to have no background opacity.
  • Loading branch information
Gido Manders committed Aug 15, 2023
1 parent 042a68f commit a3d7886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/form/ModalPicker/multiple/ModalPickerMultiple.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ export function ModalPickerMultiple<T>(props: Props<T>) {
function renderModalCurrentSelection() {
return (
<Row className="mb-3 py-2 bg-dark bg-opacity-10">
<Col>
<Col className="bg-opacity-100">
{selected && selected.length > 0 ? (
selected.map((value) => {
const label = labelForOption(value);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ exports[`Component: ModalPickerMultiple ui default: modal 1`] = `
class="mb-3 py-2 bg-dark bg-opacity-10 row"
>
<div
class="col"
class="bg-opacity-100 col"
>
<span
class="text-muted"
Expand Down

0 comments on commit a3d7886

Please sign in to comment.