Skip to content

armgit / core

Public Imported from GitHub
0

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

UI bugfix for unscrollable dashboards on mobile (#2583)

Wouter Voorberg4644b1f2a72f
diff --git a/ui/component/or-dashboard-builder/src/index.ts b/ui/component/or-dashboard-builder/src/index.ts
index 4be89c67e..63bfd7aca 100644
--- a/ui/component/or-dashboard-builder/src/index.ts
+++ b/ui/component/or-dashboard-builder/src/index.ts
@@ -660,7 +660,7 @@ export class OrDashboardBuilder extends LitElement {
</div>
</div>
`}
- <div id="content" style="flex: 1;">
+ <div id="content" style="flex: 1; overflow: auto;">
<div id="container">
${(this.editMode && (this._isReadonly() || !this._hasEditAccess())) ? html`
<div style="display: flex; justify-content: center; align-items: center; height: 100%;">