Skip to content

Commit

Permalink
Merge pull request #15 from videmig/fix
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
vivitali committed Aug 25, 2023
2 parents f4ae8eb + 4ddc435 commit fa502fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# These are supported funding model platforms

github: [vasinkevych]
github: [videmig]
custom: ['https://www.buymeacoffee.com/vaviQ']
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tailwindcss-react-datepicker",
"version": "1.1.5",
"version": "1.1.6",
"description": "A modern React Datepicker using Tailwind CSS 3",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Datepicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ const Datepicker: React.FC<DatepickerType> = ({

<div
className={`transition-all ease-out duration-300 z-10 mt-[1px] text-sm lg:text-xs 2xl:text-sm translate-y-4 opacity-0 hidden ${
!isStaticPosition ? "absolute" : "flex"
!isStaticPosition ? "absolute" : "flex justify-center"
}`}
ref={calendarContainerRef}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const Input: React.FC<Props> = (e: Props) => {
) {
return classNames.toggleButton(button);
}
const toggleStaticPosition = isStaticPosition ? "h-10" : "h-full";
const toggleStaticPosition = isStaticPosition ? "h-10" : "none";
const defaultToggleClassName = `absolute right-0 ${toggleStaticPosition} px-3 text-gray-400 focus:outline-none disabled:opacity-40 disabled:cursor-not-allowed`;

return typeof toggleClassName === "function"
Expand Down

0 comments on commit fa502fc

Please sign in to comment.