mirror of
https://github.com/coder/coder.git
synced 2026-10-31 11:02:50 +08:00
fix(site): right-align DateTimeRangePicker dropdown to match other dropdowns (#28428)
Follow-up to #28392. The `DateTimeRangePicker` popover opened with `align="start"` (left-aligned to the trigger), while the other dropdowns on the page use `align="end"`. This changes the `PopoverContent` alignment to `align="end"` for consistency. One-line change; no behavior or layout changes inside the dropdown itself. --- Generated by Coder Agents on behalf of @tracyjohnsonux.
This commit is contained in:
@@ -219,7 +219,7 @@ export const DateTimeRangePicker: FC<DateTimeRangePickerProps> = ({
|
||||
</PopoverTrigger>
|
||||
<PopoverContent
|
||||
className="w-auto p-0 overflow-x-hidden overflow-y-auto"
|
||||
align="start"
|
||||
align="end"
|
||||
onOpenAutoFocus={(e) => e.preventDefault()}
|
||||
>
|
||||
<div className="flex">
|
||||
|
||||
Reference in New Issue
Block a user