zulip/static/styles/portico
Anders Kaseorg 64b78ad992 styles: Use range context queries to eliminate *_max variables.
On a high-DPI display or with a non-default zoom level, the browser
viewport may have a width strictly between md_max = 767px and md_min =
768px.  Use only the *_min bounds for consistency.

This requires queries with strict inequalities to express upper
bounds (width < md_min).  Fortunately, that functionality is provided
by range context queries.  Unfortunately, those are not supported in
all browsers.  Fortunately, we can compile them away using
postcss-media-minmax.  Unfortunately, postcss-media-minmax currently
subtracts 1px for strict inequalities anyway to work around a Safari
rounding bug.  Fortunately, 0.02px should be sufficient for that, so I
submitted a PR:

https://github.com/postcss/postcss-media-minmax/pull/28

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-02-05 09:23:59 -08:00
..
activity.css support: Fix styling of plan details. 2020-12-17 17:09:20 -08:00
archive.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
billing.css billing: Use name selector for overriding the spin button for license input. 2020-11-06 09:59:33 -08:00
integrations.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
integrations_dev_panel.css styles: Format CSS with Prettier. 2020-08-04 16:34:19 -07:00
landing_page.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
markdown.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
portico.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
portico_signin.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00
portico_styles.css portico-signin: Rename to portico_signin.css. 2020-10-19 11:50:39 -07:00
stats.css styles: Use range context queries to eliminate *_max variables. 2021-02-05 09:23:59 -08:00