Increase afternoon roll-up reserve for wrapped text
This commit is contained in:
@@ -2287,7 +2287,7 @@ class Be extends C {
|
|||||||
), r = e.length;
|
), r = e.length;
|
||||||
let o = m;
|
let o = m;
|
||||||
if (r > 0) {
|
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,
|
24,
|
||||||
Math.max(8, Math.floor((a - r * 74) / Math.max(r - 1, 1)))
|
Math.max(8, Math.floor((a - r * 74) / Math.max(r - 1, 1)))
|
||||||
), u = Math.min(
|
), u = Math.min(
|
||||||
|
|||||||
@@ -1167,7 +1167,7 @@ export class NestQuestQuestLogCard extends LitElement {
|
|||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
const rollupReserve =
|
const rollupReserve =
|
||||||
windowDef.key === "afternoon" && this._otherChildren().length > 0
|
windowDef.key === "afternoon" && this._otherChildren().length > 0
|
||||||
? 120
|
? 160
|
||||||
: 0;
|
: 0;
|
||||||
const available = 644 - rollupReserve;
|
const available = 644 - rollupReserve;
|
||||||
const gap = Math.min(
|
const gap = Math.min(
|
||||||
|
|||||||
Reference in New Issue
Block a user