Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

extra breakpoints for different viewports

Vincent0d79768d94b8
diff --git a/ui/app/main/src/components/pages/page-insights.ts b/ui/app/main/src/components/pages/page-insights.ts
index b14aef036..2b0bf56bf 100644
--- a/ui/app/main/src/components/pages/page-insights.ts
+++ b/ui/app/main/src/components/pages/page-insights.ts
@@ -60,6 +60,16 @@ const style = css`
-o-animation: fadein 0.3s; /* Opera < 12.1 */
animation: fadein 0.3s;
}
+ @media only screen and (max-width: 1023px) {
+ #container {
+ grid-template-columns: 1fr 1fr;
+ }
+ }
+ @media only screen and (max-width: 767px) {
+ #container {
+ grid-template-columns: 1fr;
+ }
+ }
.row {
grid-column-start: 1;