100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
UI updates: fix bottom nav rendering issue
Rich Turnerf4c880105a52
diff --git a/ui/app/smart-building-v1/smart-home/smart-home-app.html b/ui/app/smart-building-v1/smart-home/smart-home-app.htmlindex 2750a8eb1..2ed7adc1c 100644--- a/ui/app/smart-building-v1/smart-home/smart-home-app.html+++ b/ui/app/smart-building-v1/smart-home/smart-home-app.html@@ -21,10 +21,6 @@:host {min-height: 100vh;}-- smart-home-body {- margin-bottom: 51px;- }</style><app-location use-hash-as-path route="{{appLocation}}"></app-location>diff --git a/ui/app/smart-building-v1/smart-home/smart-home-body.html b/ui/app/smart-building-v1/smart-home/smart-home-body.htmlindex 66954a681..f15f7329c 100644--- a/ui/app/smart-building-v1/smart-home/smart-home-body.html+++ b/ui/app/smart-building-v1/smart-home/smart-home-body.html@@ -18,7 +18,7 @@ready() {super.ready();- this.shadowRoot.host.classList.add("scroll", "layout", "vertical");+ this.shadowRoot.host.classList.add("flex", "scroll", "layout", "vertical");}}diff --git a/ui/app/smart-building-v1/smart-home/smart-home-footer.html b/ui/app/smart-building-v1/smart-home/smart-home-footer.htmlindex 226102d4c..f23a4cc42 100644--- a/ui/app/smart-building-v1/smart-home/smart-home-footer.html+++ b/ui/app/smart-building-v1/smart-home/smart-home-footer.html@@ -7,11 +7,6 @@.footer {font-size: 25px;- position: fixed;- bottom: 0px;- left: 0px;- right: 0px;- background-color: var(--theme-white);box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);}@@ -44,7 +39,7 @@</style><template is="dom-if" if="[[!hideNav]]">- <div class="footer flex-none layout horizontal nav">+ <div class="footer layout horizontal nav"><a href="#scenes" class$="[[getNavItemClass(activeNav, 'scenes')]]"><span class$="[[icon('th-large')]]"></span></a><a href="#control" class$="[[getNavItemClass(activeNav, 'control')]]"><span class$="[[icon('lightbulb')]]"></span></a><a href="#climate" class$="[[getNavItemClass(activeNav, 'climate')]]"><span class$="[[icon('thermometer-half')]]"></span></a>