calendarCompactCellSize property
Small-screen cap for calendarCellSize: day cell size:
(viewport - screen margins - modal padding) / 7 days minus cell padding
(cap: max(28px, calc((100dvw - 26px) / 7 - 6px)),
CSS variable: --naki-calendar-compact-cell-size)
Implementation
@override
Token get calendarCompactCellSize =>
component?.calendar?.compactCellSize != null
? Token(
value: component!.calendar!.compactCellSize!.cssText,
name: super.calendarCompactCellSize.name,
)
: super.calendarCompactCellSize;