diff --git a/crates/izlek-web/src/detail.rs b/crates/izlek-web/src/detail.rs index 5cb4c1d..46c0e9d 100644 --- a/crates/izlek-web/src/detail.rs +++ b/crates/izlek-web/src/detail.rs @@ -1485,51 +1485,54 @@ pub async fn task_modal(cx: &Cx, task_id: &str, confirm_delete: bool, tab: Tab) (t(lang, Key::Activity)) (t(lang, Key::TabMail)) - - -
if tab == Tab::Task { -
-
- (t(lang, Key::Status)) - if may_write { -
- - - - - (glyph::chevron(cx).await?) -
- } else { - - - (detail.column.name.clone()) - - } -
-
- (t(lang, Key::Deadline)) - (deadline_control(cx, &detail, today, may_write, lang).await?) -
-
- (format!("{} — {}", t(lang, Key::Assignees), detail.assignees.len())) -
- for person in &detail.assignees { - (assignee_chip(cx, &detail.id, person, may_write, lang).await?) - } -
+
+
+ (t(lang, Key::Status)) if may_write { - (assignee_picker(cx, &detail.id, &unassigned, lang).await?) +
+ + + + + (glyph::chevron(cx).await?) +
+ } else { + + + (detail.column.name.clone()) + }
+
+ (t(lang, Key::Deadline)) + (deadline_control(cx, &detail, today, may_write, lang).await?) +
+
+ (format!("{} — {}", t(lang, Key::Assignees), detail.assignees.len())) +
+ for person in &detail.assignees { + (assignee_chip(cx, &detail.id, person, may_write, lang).await?) + } +
+ if may_write { + (assignee_picker(cx, &detail.id, &unassigned, lang).await?) + } +
+
-
- (refused(cx, "move_card", lang).await?) + (refused(cx, "move_card", lang).await?) + } +
+ + +
+ if tab == Tab::Task {
diff --git a/style/_instrument.scss b/style/_instrument.scss index 36b9185..5b93112 100644 --- a/style/_instrument.scss +++ b/style/_instrument.scss @@ -245,10 +245,11 @@ font-size: 20px; } +// The fields ride in the masthead, so they carry its inset themselves. [data-ui="instrument"] .detail-fields { gap: 10px; - padding: 0; - margin-top: 18px; + padding: 0 16px 14px; + margin-top: 14px; } // Blocks run down the panel body below the title; only the composer pins. diff --git a/style/_ledger.scss b/style/_ledger.scss index 0e998ad..6b43e4e 100644 --- a/style/_ledger.scss +++ b/style/_ledger.scss @@ -409,7 +409,7 @@ [data-ui="ledger"] .detail-fields { display: block; padding: 0; - margin-top: 24px; + margin-top: 14px; border-top: 1px solid var(--border); }