Skip to content

Commit

Permalink
Fix DateInput example size and z-index (#58)
Browse files Browse the repository at this point in the history
* Upgrade dependencies

* Create shaggy-tables-clean.md

* Fix DateInput example size and z-index

* Create chilly-hornets-carry.md
  • Loading branch information
Zertz authored Apr 25, 2022
1 parent 819e6eb commit c7aa330
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-hornets-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tempocal/www": patch
---

Fix DateInput example size and z-index
5 changes: 5 additions & 0 deletions .changeset/shaggy-tables-clean.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tempocal/www": patch
---

Upgrade dependencies
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"turbo": "^1.2.5",
"typescript": "^4.6.3"
},
"packageManager": "[email protected].9"
"packageManager": "[email protected].10"
}
6 changes: 3 additions & 3 deletions packages/www/examples/DateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export function DateInput() {
});

return (
<div className="flex flex-col flex-shrink-0 gap-4 relative w-72">
<div className="flex flex-col flex-shrink-0 gap-4 relative">
<input
className="border-gray-300 rounded px-1 w-full"
className="border-gray-300 rounded px-1 w-72"
onClick={() => setOpen((isOpen) => !isOpen)}
readOnly
title={dateFormatter.format(temporalToDate(value))}
Expand All @@ -47,7 +47,7 @@ export function DateInput() {
.padStart(2, "0")}-${value.day.toString().padStart(2, "0")}`}
/>
<div
className="shadow-xl absolute top-14 left-0 right-0"
className="shadow-xl absolute top-14 left-0 right-0 z-10"
hidden={!isOpen}
>
<Calendar
Expand Down
2 changes: 1 addition & 1 deletion packages/www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.1.1",
"@vitejs/plugin-react": "^1.3.1",
"autoprefixer": "^10.4.4",
"autoprefixer": "^10.4.5",
"jsdom": "^19.0.0",
"postcss": "^8.4.12",
"tailwindcss": "^3.0.24",
Expand Down
52 changes: 30 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit c7aa330

@vercel
Copy link

@vercel vercel bot commented on c7aa330 Apr 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

tempocal – ./

tempocal-zertz.vercel.app
tempocal.vercel.app
tempocal-git-main-zertz.vercel.app
tempocal.pierluc.io

Please sign in to comment.