feat: show holiday name on hover in calendar
Add a native title tooltip to calendar day cells so hovering over a public holiday reveals its name (and custom label if configured). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -81,6 +81,7 @@ export default function VacayMonthCard({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
key={di}
|
key={di}
|
||||||
|
title={holiday ? (holiday.label ? `${holiday.label}: ${holiday.localName}` : holiday.localName) : undefined}
|
||||||
className="relative flex items-center justify-center cursor-pointer transition-colors"
|
className="relative flex items-center justify-center cursor-pointer transition-colors"
|
||||||
style={{
|
style={{
|
||||||
height: 28,
|
height: 28,
|
||||||
|
|||||||
Reference in New Issue
Block a user