Skip to content

Commit

Permalink
Fix bug (search input style and sourcemap warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
onesine committed Sep 28, 2022
1 parent 1230a23 commit bac61a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default MODES.map(item => {
name: "ReactTailwindcssSelect",
file: `dist/index.${item}${dev ? '' : '.min'}.js`,
format: item,
sourcemap: item === "esm",
sourcemap: true,
exports: "auto",
globals: {
'react': 'React'
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const SearchInput: React.FC<Props> = ({placeholder = "", value = "", onChange, n
<div className="relative py-1 px-2.5">
<SearchIcon className="absolute w-5 h-5 mt-2.5 pb-0.5 ml-2 text-gray-500"/>
<input
className="w-full py-2 pl-8 text-sm text-gray-500 bg-gray-100 border border-gray-200 rounded focus:ring-0 focus:border-gray-200"
className="w-full py-2 pl-8 text-sm text-gray-500 bg-gray-100 border border-gray-200 rounded focus:border-gray-200 focus:ring-0 focus:outline-none"
type="text"
placeholder={placeholder}
value={value}
Expand Down

0 comments on commit bac61a1

Please sign in to comment.