Skip to content

Commit

Permalink
fix(Search): restore default component size (#8912)
Browse files Browse the repository at this point in the history
* fix(Search): restore default component size

* chore: update snapshots

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and jnm2377 committed Jun 18, 2021
1 parent 72c0172 commit d06886b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2335,7 +2335,7 @@ exports[`DataTable should render 1`] = `
>
<div
aria-labelledby="custom-id-search"
className="bx--search bx--toolbar-search-container-persistent"
className="bx--search bx--search--xl bx--toolbar-search-container-persistent"
role="search"
>
<div
Expand Down Expand Up @@ -3396,7 +3396,7 @@ exports[`DataTable sticky header should render 1`] = `
>
<div
aria-labelledby="custom-id-search"
className="bx--search bx--toolbar-search-container-persistent"
className="bx--search bx--search--xl bx--toolbar-search-container-persistent"
role="search"
>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exports[`DataTable.TableToolbarSearch should render 1`] = `
>
<div
aria-labelledby="custom-id-search"
className="bx--search custom-class bx--toolbar-search-container-expandable"
className="bx--search bx--search--xl custom-class bx--toolbar-search-container-expandable"
role="search"
>
<div
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Search/Search.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default class Search extends Component {
labelText,
closeButtonLabelText,
small,
size = !small ? '' : 'sm',
size = !small ? 'xl' : 'sm',
light,
disabled,
onChange,
Expand Down

0 comments on commit d06886b

Please sign in to comment.