Fix the tooltip centered when wrapping an avatar inside an avatar group
Summary
Make the tooltip centered on the avatar inside the avatar group.
Motivation
When using a tooltip for an avatar inside an avatar group, the tooltip is not centered. This issue occurs only on avatars inside the avatar group.
Changes Made
Added "tooltip" property to avatar theme.
Use of "tooltip" property based on "stacked" parameter. If "stacked=true" then the tooltip property will be sent for customization if using a tooltip.
However, if you keep using stacked without a tooltip, the behavior will remain the same.
Reference
fix #1231
- [x] I have followed the Your First Code Contribution section of the Contributing guide
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| flowbite-react | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 14, 2024 1:22am |
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
7461173) 99.54% compared to head (5802e89) 97.35%. Report is 195 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1232 +/- ##
==========================================
- Coverage 99.54% 97.35% -2.20%
==========================================
Files 163 216 +53
Lines 6621 9230 +2609
Branches 401 539 +138
==========================================
+ Hits 6591 8986 +2395
- Misses 30 244 +214
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.