mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
compose: Allow flatpickr to automatically choose the direction.
Previously the flatpickr was always set to show at the top but this led to it being cut off when the message was at the top of the screen -- should happen only when someone is editing a message.
This commit is contained in:
committed by
Tim Abbott
parent
63be67af80
commit
9f1fcfb3a7
@@ -734,8 +734,8 @@ export function initialize() {
|
||||
on_timestamp_selection,
|
||||
get_timestamp_for_flatpickr(),
|
||||
{
|
||||
// place the time picker above the icon and center it horizontally
|
||||
position: "above center",
|
||||
// place the time picker wherever there is space and center it horizontally
|
||||
position: "auto center",
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user