Skip to content

Commit

Permalink
Fix difference between calendar dropdown and menu dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
apata committed Feb 5, 2025
1 parent cacfdb8 commit b7257e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function QueryPeriodsPicker({ className }: { className?: string }) {
/>
)}
</Popover>
<Popover className="w-0 h-0 self-stretch md:relative">
<Popover className="w-0 h-9 md:relative">
{({ close }) => (
<ComparisonCalendarMenu
calendarButtonRef={compareCalendarButtonRef}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const datemenuButtonClassName = classNames(
'justify-between px-2 w-full'
)

export const hiddenCalendarButtonClassName = 'outline-none h-9'
export const hiddenCalendarButtonClassName = 'flex h-9 w-0 outline-none'

export const DateMenuChevron = () => (
<ChevronDownIcon className="hidden lg:inline-block h-4 w-4 md:h-5 md:w-5 ml-1 md:ml-2 text-gray-500" />
Expand Down

0 comments on commit b7257e4

Please sign in to comment.