Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

fix(docs): scroll only demo image, keep caption fixed (#681)

Maximilian Roos8ace270377fa
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index c3fc024c7..54f16d8ea 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -366,10 +366,14 @@ main {
// Demo GIFs - shrink to min-width, then horizontal scroll
.content figure.demo {
- overflow-x: auto;
- -webkit-overflow-scrolling: touch;
margin-top: 0.25rem;
+ picture {
+ display: block;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+ }
+
img {
display: block;
min-width: 800px;