diff --git a/src/components/ha-view-tabs.html b/src/components/ha-view-tabs.html
index ba7cd2391e..bacd01a6d4 100644
--- a/src/components/ha-view-tabs.html
+++ b/src/components/ha-view-tabs.html
@@ -2,6 +2,9 @@
diff --git a/src/layouts/partial-cards.js b/src/layouts/partial-cards.js
index e657113f21..0422ce0889 100644
--- a/src/layouts/partial-cards.js
+++ b/src/layouts/partial-cards.js
@@ -135,11 +135,12 @@ export default new Polymer({
headerScrollAdjust(ev) {
if (!this.hasViews) return;
- Polymer.Base.transform(`translateY(-${ev.detail.y}px)`, this.$.menu);
+ this.translate3d('0', `-${ev.detail.y}px`, '0', this.$.menu);
+ this.toggleClass('condensed', ev.detail.y === 56, this.$.panel);
},
computeHeaderHeight(hasViews) {
- return hasViews ? 128 : 64;
+ return hasViews ? 104 : 64;
},
computeCondensedHeaderHeight(hasViews) {