fix: image watcher now uses relative path for subdirectory images

- Added relativePath field to ImageDetectedEvent
- Compute relative path from working directory in image-watcher
- Use relativePath in frontend URL (fixes 'Failed to load image' for subdirs)
- Minor CLAUDE.md improvements

chore: bump version to 0.1461
This commit is contained in:
arkon
2026-01-31 14:32:20 +01:00
parent c7488c4a56
commit b655d2e29e
13 changed files with 278 additions and 18 deletions
+17 -1
View File
@@ -8056,7 +8056,7 @@ kbd {
/* Clean dark toolbar - positioned near bottom */
.toolbar {
position: absolute;
position: fixed;
bottom: var(--safe-area-bottom);
left: 0;
right: 0;
@@ -8073,6 +8073,10 @@ kbd {
background: #111111;
border-top: 1px solid rgba(255, 255, 255, 0.1);
z-index: 50;
/* Smooth transition for keyboard show/hide */
transition: transform 0.15s ease-out;
/* Ensure transform works properly */
will-change: transform;
}
/* Show case selector in center */
@@ -8438,6 +8442,18 @@ kbd {
scroll-margin-bottom: 200px;
scroll-margin-top: 80px;
}
/* When keyboard is visible, adjust content to account for moved toolbar */
.keyboard-visible .terminal-container {
/* Reduce terminal height when keyboard is up so it doesn't overlap toolbar */
padding-bottom: 50px;
}
/* Ensure modals scroll properly when keyboard is visible */
.keyboard-visible .modal-body {
max-height: 40vh;
overflow-y: auto;
}
}