Skip to content

Commit e3bcede

Browse files
committed
fix(tooltip): set z-index
1 parent 4e358ce commit e3bcede

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/panda/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ The CLI now prompts the following:
3636
### Fixed
3737

3838
- **Textarea**: Fixed an issue where the `invalid` state was not rendered correctly.
39+
- **Tooltip**: Set a proper `z-index` value to ensure the tooltip is displayed above other elements.
3940
- Resolved a warning related to the undefined usage of `colors.red.9`.
4041

4142
## [0.41.0] - 2024-07-28

packages/panda/src/theme/recipes/tooltip.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const tooltip = defineSlotRecipe({
1515
py: '2',
1616
textStyle: 'xs',
1717
maxWidth: '2xs',
18+
zIndex: 'tooltip',
1819
_open: {
1920
animation: 'fadeIn 0.25s ease-out',
2021
},

0 commit comments

Comments
 (0)