Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
flatpickr: Improve look of `Confirm` button.
Aman Agrawal4ed6b441c730
diff --git a/static/js/composebox_typeahead.js b/static/js/composebox_typeahead.jsindex 2f20475fb3d..585b825036b 100644--- a/static/js/composebox_typeahead.js+++ b/static/js/composebox_typeahead.js@@ -775,7 +775,13 @@ export function show_flatpickr(element, callback, default_timestamp, options = {enableTime: true,clickOpens: false,defaultDate: default_timestamp,- plugins: [new ConfirmDatePlugin({showAlways: true})],+ plugins: [+ new ConfirmDatePlugin({+ showAlways: true,+ confirmText: $t({defaultMessage: "Confirm"}),+ confirmIcon: "",+ }),+ ],positionElement: element,dateFormat: "Z",formatDate: (date) => formatISO(date),diff --git a/static/styles/zulip.css b/static/styles/zulip.cssindex 2f38e7b5074..c6de33950d7 100644--- a/static/styles/zulip.css+++ b/static/styles/zulip.css@@ -2684,6 +2684,13 @@ select.inline_select_topic_edit {margin: 0 5px;}+ .flatpickr-confirm {+ color: hsl(0, 0%, 100%);+ background-color: hsl(213, 90%, 65%);+ font-size: 18px;+ font-weight: 600;+ }+@media (width < $md_min) {/* Center align flatpickr on mobile* devices so that it doesn't go out of