diff --git a/orchestrator/templates/index.html.j2 b/orchestrator/templates/index.html.j2
index b6bc282..f7f8af0 100644
--- a/orchestrator/templates/index.html.j2
+++ b/orchestrator/templates/index.html.j2
@@ -361,7 +361,7 @@ textarea + .mic-auto { display: flex; margin: 4px 0 0 auto; }
.sheet-box.wide { width: min(1400px, 100%); }
.sheet-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sheet-body { display: grid; gap: 14px; padding: 16px 18px 20px; }
-.options { display: grid; gap: 6px; margin-top: 8px; }
+.options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 8px; }
.option { display: grid; gap: 2px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--panel); text-align: left; cursor: pointer; }
.option:hover { background: var(--accent-soft); border-color: var(--accent); }
.option.recommended { border-color: var(--ok); box-shadow: inset 3px 0 0 var(--ok); }
diff --git a/tests/e2e/hub_e2e_inbox.py b/tests/e2e/hub_e2e_inbox.py
index f82c938..ecdafd7 100644
--- a/tests/e2e/hub_e2e_inbox.py
+++ b/tests/e2e/hub_e2e_inbox.py
@@ -151,7 +151,7 @@ WATCH = """
const fits = () => ({tall: document.documentElement.scrollHeight > window.innerHeight, wide: document.documentElement.scrollWidth > window.innerWidth + 1});
"""
CHOICE_VIEW = """(async () => {@HELPERS@@LABELS@
- const found = await until(() => document.getElementById("choice-request") && all("#main .inbox-list > li .options").length === @CARDS@ && document.querySelector('#choice-request input[type="checkbox"]'), 8000);
+ const found = await until(() => document.getElementById("choice-request") && all("#main .inbox-list > li.k-decision .options").length === @CARDS@ && document.querySelector('#choice-request input[type="checkbox"]'), 8000);
if (!found) {
return {error: text(document.getElementById("main"))};
}
diff --git a/tests/e2e/test_bulk_grant_e2e.py b/tests/e2e/test_bulk_grant_e2e.py
index 3f4206a..a9d0cab 100644
--- a/tests/e2e/test_bulk_grant_e2e.py
+++ b/tests/e2e/test_bulk_grant_e2e.py
@@ -33,7 +33,7 @@ COMMON = """
await until(() => menu().open, 2000);
await sleep(100);
};
- const grantOf = (ref) => row(ref) && row(ref).querySelector(".item-actions button.primary");
+ const grantOf = (ref) => row(ref) && (row(ref).querySelector(".item-actions button.primary") || all(".options.dialog > button.option", row(ref)).find((button) => text(button.querySelector("strong")) === "Yes"));
const wide = () => document.documentElement.scrollWidth > innerWidth + 1;
const switchState = () => [name(main()), count(), document.querySelector("#grant-bar #grant-direct") ? "select" : "direct"];
const storedMode = async (mode) => {
@@ -250,7 +250,7 @@ class TestBulkGrant(base.OrchestratorE2ECase):
self.assertEqual(collect["restored"], selecting, collect)
self.assertEqual(collect["pale"], [True, True], collect)
self.assertEqual(collect["counts"], ["1 selected", "2 selected", "1 selected", "2 selected", "3 selected"], collect)
- self.assertEqual((collect["pressed"], collect["posted"]), ([["true", True]] * 3, []), collect)
+ self.assertEqual((collect["pressed"], collect["posted"]), ([["true", True], ["true", False], ["true", True]], []), collect)
self.assertEqual((collect["labels"][0], collect["labels"][-1]), ("Grant selection (3)", "Direct"), collect)
self.assertEqual(sum(label.startswith("Remove ") for label in collect["labels"]), 3, collect)
self.assertEqual((sheet["label"], len(sheet["listed"])), ("Grant 3", 3), sheet)