Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
flatpickr: Use constant variable for font-size.
evykassirer7fa633faaf6d
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 60305930ae6..caeb3bd225c 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -513,6 +513,12 @@--user-group-popover-horizontal-padding: 0.6666em; /* 10px at 15px/1em */--user-group-popover-icon-text-gap: 0.3125em; /* 5px at 16px/1em */+ /*+ This isn't scaled with font-size because the flatpickr is a third+ party component that doesn't scale with font size.+ */+ --flatpickr-confirm-button-font-size: 18px;+/*Width to be reserved for document scrollbar when scrolling is disabled.Using `scrollbar-gutter` would be more appropriate but doesn't has widediff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex 2bc0aea6837..a02ecf09014 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -1479,7 +1479,7 @@ div.toggle_resolve_topic_spinner .loading_indicator_spinner {.flatpickr-confirm {color: hsl(0deg 0% 100%);background-color: hsl(213deg 90% 65%);- font-size: 18px;+ font-size: var(--flatpickr-confirm-button-font-size);font-weight: 600;}