diff --git a/crates/izlek-web/src/detail.rs b/crates/izlek-web/src/detail.rs
index 46c0e9d..990fa6c 100644
--- a/crates/izlek-web/src/detail.rs
+++ b/crates/izlek-web/src/detail.rs
@@ -1527,6 +1527,28 @@ pub async fn task_modal(cx: &Cx, task_id: &str, confirm_delete: bool, tab: Tab)
(refused(cx, "move_card", lang).await?)
+
+
+
+
(t(lang, Key::Dependencies))
+
+ if may_write {
+ (link_picker(cx, &detail.id, &linkable, lang).await?)
+ }
+
+ if has_deps {
+
+ for edge in &detail.blocked_by {
+ (dep_row(cx, &detail.id, edge, Direction::BlockedBy, may_write, lang).await?)
+ }
+ for edge in &detail.blocks {
+ (dep_row(cx, &detail.id, edge, Direction::Blocks, may_write, lang).await?)
+ }
+
+ } else {
+ (t(lang, Key::NoDependencies))
+ }
+
}
@@ -1534,27 +1556,6 @@ pub async fn task_modal(cx: &Cx, task_id: &str, confirm_delete: bool, tab: Tab)
if tab == Tab::Task {
-
-
-
(t(lang, Key::Dependencies))
-
- if may_write {
- (link_picker(cx, &detail.id, &linkable, lang).await?)
- }
-
- if has_deps {
-
- for edge in &detail.blocked_by {
- (dep_row(cx, &detail.id, edge, Direction::BlockedBy, may_write, lang).await?)
- }
- for edge in &detail.blocks {
- (dep_row(cx, &detail.id, edge, Direction::Blocks, may_write, lang).await?)
- }
-
- } else {
- (t(lang, Key::NoDependencies))
- }
-
(t(lang, Key::Description))
diff --git a/style/main.scss b/style/main.scss
index def6f55..ba6cd99 100644
--- a/style/main.scss
+++ b/style/main.scss
@@ -1092,6 +1092,21 @@ img.avatar {
flex: none;
}
+// Dependencies ride in the mast, and a task can be blocked by any number of
+// others — so the list keeps three whole rows' worth of room and pans inside itself,
+// silently, rather than pushing the task's own text off the screen.
+.detail-mast .dep-list {
+ max-height: 160px;
+ overflow-y: auto;
+ scrollbar-width: none;
+
+ &::-webkit-scrollbar { display: none; }
+}
+
+.detail-mast .detail-block {
+ margin-top: 14px;
+}
+
.detail-body {
flex: 1;
min-height: 0;