mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
css_variables: Add specific breakpoints for mobile devices.
This commit is contained in:
@@ -7,6 +7,11 @@ const md = 768;
|
||||
const lg = 992;
|
||||
const xl = 1200;
|
||||
|
||||
// Breakpoints for mobile devices used by Google Chrome as of Version 86
|
||||
const ml = 425; // Mobile large
|
||||
const mm = 375; // Mobile medium
|
||||
const ms = 320; // Mobile small
|
||||
|
||||
module.exports = {
|
||||
media_breakpoints: {
|
||||
"xs-min": xs + "px",
|
||||
@@ -14,11 +19,17 @@ module.exports = {
|
||||
"md-min": md + "px",
|
||||
"lg-min": lg + "px",
|
||||
"xl-min": xl + "px",
|
||||
"ml-min": ml + "px",
|
||||
"mm-min": mm + "px",
|
||||
"ms-min": ms + "px",
|
||||
|
||||
"xs-max": xs - 1 + "px",
|
||||
"sm-max": sm - 1 + "px",
|
||||
"md-max": md - 1 + "px",
|
||||
"lg-max": lg - 1 + "px",
|
||||
"xl-max": xl - 1 + "px",
|
||||
"ml-max": ml - 1 + "px",
|
||||
"mm-max": mm - 1 + "px",
|
||||
"ms-max": ms - 1 + "px",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user