diff --git a/assets/css/flatpickr-colors.css b/assets/css/flatpickr-colors.css index 85dd0968edb5..6083d90e6010 100644 --- a/assets/css/flatpickr-colors.css +++ b/assets/css/flatpickr-colors.css @@ -147,7 +147,7 @@ span.flatpickr-weekday { /* Day cells */ .flatpickr-day { @apply mx-0 my-px h-9 max-w-none rounded-md border border-transparent - bg-transparent text-sm font-medium leading-[35px] + bg-transparent text-sm font-normal leading-[35px] text-gray-800 dark:text-gray-100; } diff --git a/assets/js/dashboard/components/popover.tsx b/assets/js/dashboard/components/popover.tsx index d5f691ac3c66..08629c96622c 100644 --- a/assets/js/dashboard/components/popover.tsx +++ b/assets/js/dashboard/components/popover.tsx @@ -46,7 +46,7 @@ const toggleButton = { } } -const staticRow = 'px-4 py-2.5 text-sm rounded-md' +const staticRow = 'px-3 py-2 text-sm rounded-md' const navigationLink = classNames( 'flex items-center justify-between', @@ -72,10 +72,15 @@ const items = { navigationLink, hoverLink, label: 'flex-1 min-w-0 truncate', + /** Use with a width. Keeps an svg icon on the first line of the row. */ + rowIcon: 'shrink-0 self-start h-lh', description: 'font-normal text-xs text-gray-500 dark:text-gray-400', + sectionTitle: + 'px-3 py-2 text-xs font-medium uppercase whitespace-nowrap text-gray-500 dark:text-gray-400', /** Full-width row that holds a leading icon and a `label` span. */ iconRow: classNames(navigationLink, hoverLink, 'gap-x-2 w-full text-left'), selectedOption: classNames( + 'gap-x-2', 'data-[selected=true]:bg-gray-100', 'data-[selected=true]:dark:bg-gray-700', 'data-[selected=true]:text-gray-900', @@ -96,7 +101,10 @@ export function SelectedCheckmark({ selected }: { selected: boolean }) { return null } return ( -