mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
flatpickr: Use constant variable for font-size.
This is part of an effort to remove all pixel font sizes from most stylesheets. We won't scale this with font size because the flatpickr doesn't scale with font size.
This commit is contained in:
@@ -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 wide
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user