Skip to content

Commit 7a0eb8b

Browse files
isubrotogitbutler-client
authored andcommitted
fix(ui): Adjust z-index and Twitter link in components
Correct Twitter link and add z-index to calendar month/year selection grids to ensure proper overlay behavior
1 parent 57700e3 commit 7a0eb8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llms.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ Chart (10 types), MCP Server, Drag & Drop Primitives.
8383

8484
## 🔗 Optional
8585
- **Community**: [Discord](https://discord.gg/saha-ui)
86-
- **Twitter/X**: [@saha_ui](https://twitter.com/saha-ui)
86+
- **Twitter/X**: [@saha_ui](https://twitter.com/saha_ui)
8787
- **Author**: [Saha UI Team](https://saha-ui.isubroto.com.bd)

src/components/Calendar/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ const Calendar = forwardRef<HTMLDivElement, CalendarProps>((props, ref) => {
530530
});
531531

532532
return (
533-
<div className="grid grid-cols-3 gap-2 p-4">
533+
<div className="relative z-10 grid grid-cols-3 gap-2 p-4">
534534
{months.map((month, index) => (
535535
<button
536536
key={index}
@@ -556,7 +556,7 @@ const Calendar = forwardRef<HTMLDivElement, CalendarProps>((props, ref) => {
556556
const years = Array.from({ length: 12 }, (_, i) => currentYear - 5 + i);
557557

558558
return (
559-
<div className="grid grid-cols-3 gap-2 p-4">
559+
<div className="relative z-10 grid grid-cols-3 gap-2 p-4">
560560
{years.map((year) => (
561561
<button
562562
key={year}

0 commit comments

Comments
 (0)