Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

compose: Allow flatpickr to automatically choose the direction.

Satyam Bansal9f1fcfb3a75c
diff --git a/web/src/compose.js b/web/src/compose.js
index ecb18f65846..966324d7f50 100644
--- a/web/src/compose.js
+++ b/web/src/compose.js
@@ -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",
},
);
}