Skip to content

Commit

Permalink
Alinha search-form à direita
Browse files Browse the repository at this point in the history
  • Loading branch information
bombassaro committed Jul 22, 2020
1 parent 38ead7d commit 45c9a6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/Menus/SearchForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const SearchForm = ({functions}) => {
return functions.onSubmit();
};
return (
<Block custom={'search-form'}>
<Block align='right' custom={'search-form'}>
<input className="search-field" type="text" placeholder="O que você está procurando?" />
<Button disabled={false} onClick={() => handleSubmit()} style="primary">Buscar</Button>
</Block>
Expand Down
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,8 @@ var SearchForm = function SearchForm(_ref) {
};

return /*#__PURE__*/React.createElement(Block, {
custom: "search-form"
align: "right",
custom: 'search-form'
}, /*#__PURE__*/React.createElement("input", {
className: "search-field",
type: "text",
Expand Down

0 comments on commit 45c9a6c

Please sign in to comment.