Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
feat: make images horizontally scrollable and improve remove docs
Maximilian Roos33647913b1ed
diff --git a/docs/content/remove.md b/docs/content/remove.mdindex 40bf3380f..62cf10432 100644--- a/docs/content/remove.md+++ b/docs/content/remove.md@@ -47,7 +47,7 @@ Use `-D` to force-delete unmerged branches. Use `--no-delete-branch` to keep theRemoval runs in the background by default (returns immediately). Logs are written to `.git/wt-logs/{branch}-remove.log`. Use `--no-background` to run in the foreground.-Arguments resolve by path first, then branch name—see [wt switch](@/switch.md#path-first-lookup). Shortcuts: `@` (current), `-` (previous), `^` (main worktree).+Arguments resolve by path first, then branch name. [Shortcuts](@/switch.md#shortcuts): `@` (current), `-` (previous), `^` (main worktree).## See alsodiff --git a/docs/sass/custom.scss b/docs/sass/custom.scssindex 7ff09ebe4..ae33effc5 100644--- a/docs/sass/custom.scss+++ b/docs/sass/custom.scss@@ -283,6 +283,20 @@ main {margin-bottom: 0.75rem;}+// Images - horizontally scrollable, never shrink+.content p:has(> img) {+ overflow-x: auto;+ -webkit-overflow-scrolling: touch;+}++.content img {+ display: block;+ max-width: none; // Don't shrink to fit container+ border-radius: 0.5rem;+ border: 1px solid var(--wt-color-border-subtle);+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);+}+// Tighten spacing between paragraphs and code blocks.content p + pre,.content p + .terminal,diff --git a/src/cli.rs b/src/cli.rsindex 25ca53fde..a68fd9c01 100644--- a/src/cli.rs+++ b/src/cli.rs@@ -1266,7 +1266,7 @@ Use `-D` to force-delete unmerged branches. Use `--no-delete-branch` to keep theRemoval runs in the background by default (returns immediately). Logs are written to `.git/wt-logs/{branch}-remove.log`. Use `--no-background` to run in the foreground.-Arguments resolve by path first, then branch name—see [wt switch](@/switch.md#path-first-lookup). Shortcuts: `@` (current), `-` (previous), `^` (main worktree).+Arguments resolve by path first, then branch name. [Shortcuts](@/switch.md#shortcuts): `@` (current), `-` (previous), `^` (main worktree).## See alsodiff --git a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap b/tests/snapshots/integration__integration_tests__help__help_remove_long.snapindex 9f26bed17..2030efec4 100644--- a/tests/snapshots/integration__integration_tests__help__help_remove_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_remove_long.snap@@ -78,7 +78,7 @@ Use [2m-D[0m to force-delete unmerged branches. Use [2m--no-delete-branch[0mRemoval runs in the background by default (returns immediately). Logs are written to [2m.git/wt-logs/{branch}-remove.log[0m. Use [2m--no-background[0m to run in the foreground.-Arguments resolve by path first, then branch name—see wt switch. Shortcuts: [2m@[0m (current), [2m-[0m (previous), [2m^[0m (main worktree).+Arguments resolve by path first, then branch name. Shortcuts: [2m@[0m (current), [2m-[0m (previous), [2m^[0m (main worktree).[32mSee also[0m