Lower dense quest min-height floor to 58px

This commit is contained in:
2026-09-20 13:50:10 -04:00
parent fba8f595d6
commit e1796cc73f
2 changed files with 2 additions and 2 deletions
@@ -2292,7 +2292,7 @@ class Be extends C {
Math.max(8, Math.floor((a - r * 74) / Math.max(r - 1, 1)))
), u = Math.min(
116,
Math.max(74, Math.floor((a - (r - 1) * p) / r))
Math.max(58, Math.floor((a - (r - 1) * p) / r))
), d = Math.max(56, Math.min(72, u - 2));
let h = `--nq-p-quest-gap: ${p}px; --nq-p-quest-min-height: ${u}px; --nq-p-button-height: ${d}px`;
if (r >= 5) {
+1 -1
View File
@@ -1176,7 +1176,7 @@ export class NestQuestQuestLogCard extends LitElement {
);
const minHeight = Math.min(
116,
Math.max(74, Math.floor((available - (count - 1) * gap) / count))
Math.max(58, Math.floor((available - (count - 1) * gap) / count))
);
const buttonHeight = Math.max(56, Math.min(72, minHeight - 2));
let stackVars = `--nq-p-quest-gap: ${gap}px; --nq-p-quest-min-height: ${minHeight}px; --nq-p-button-height: ${buttonHeight}px`;