diff --git a/custom_components/nestquest/www/nestquest-cards.js b/custom_components/nestquest/www/nestquest-cards.js index db0ed2a..1f122f6 100644 --- a/custom_components/nestquest/www/nestquest-cards.js +++ b/custom_components/nestquest/www/nestquest-cards.js @@ -2287,7 +2287,7 @@ class Be extends C { ), r = e.length; let o = m; if (r > 0) { - const a = 644 - (t.key === "afternoon" && this._otherChildren().length > 0 ? 120 : 0), p = Math.min( + const a = 644 - (t.key === "afternoon" && this._otherChildren().length > 0 ? 160 : 0), p = Math.min( 24, Math.max(8, Math.floor((a - r * 74) / Math.max(r - 1, 1))) ), u = Math.min( diff --git a/frontend/src/cards/quest-log.ts b/frontend/src/cards/quest-log.ts index eb93446..4322961 100644 --- a/frontend/src/cards/quest-log.ts +++ b/frontend/src/cards/quest-log.ts @@ -1167,7 +1167,7 @@ export class NestQuestQuestLogCard extends LitElement { if (count > 0) { const rollupReserve = windowDef.key === "afternoon" && this._otherChildren().length > 0 - ? 120 + ? 160 : 0; const available = 644 - rollupReserve; const gap = Math.min(