mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
UX: Improve Grafana usage for smaller screens (#16783)
* Mobile: Switch to mobile view already at md or lower breakpoint * UX: Tweaked breakpoint so that media-breakpoint-up(md) will only apply to screens larger than normal ipad * Updated snapshots
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(md) {
|
||||
@include media-breakpoint-up(sm) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -109,7 +109,7 @@ exports[`Render should render with base threshold 1`] = `
|
||||
},
|
||||
"breakpoints": Object {
|
||||
"lg": "992px",
|
||||
"md": "768px",
|
||||
"md": "769px",
|
||||
"sm": "544px",
|
||||
"xl": "1200px",
|
||||
"xs": "0",
|
||||
@@ -272,7 +272,7 @@ exports[`Render should render with base threshold 1`] = `
|
||||
},
|
||||
"breakpoints": Object {
|
||||
"lg": "992px",
|
||||
"md": "768px",
|
||||
"md": "769px",
|
||||
"sm": "544px",
|
||||
"xl": "1200px",
|
||||
"xs": "0",
|
||||
|
||||
@@ -42,7 +42,7 @@ const theme: GrafanaThemeCommons = {
|
||||
breakpoints: {
|
||||
xs: '0',
|
||||
sm: '544px',
|
||||
md: '768px',
|
||||
md: '769px', // 1 more than regular ipad in portrait
|
||||
lg: '992px',
|
||||
xl: '1200px',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user