Skip to content

Commit 3ae1b94

Browse files
lroolleclaude
andcommitted
fix(web): refine toolbar positioning
- Shift right (+110px) to align with main content center - Nudge upward (32px from bottom) - Add max-width to prevent overflow - Responsive: center on smaller screens (<768px) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent ac56547 commit 3ae1b94

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

internal/web/templates.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,8 +2247,8 @@ code, pre, .session-id, .model-badge {
22472247
/* Bottom dock toolbar - modern horizontal bar */
22482248
.dock-toolbar {
22492249
position: fixed;
2250-
bottom: 20px;
2251-
left: calc(50% + 100px);
2250+
bottom: 32px;
2251+
left: calc(50% + 110px);
22522252
transform: translateX(-50%);
22532253
display: flex;
22542254
align-items: center;
@@ -2260,6 +2260,7 @@ code, pre, .session-id, .model-badge {
22602260
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
22612261
z-index: 100;
22622262
backdrop-filter: blur(10px);
2263+
max-width: calc(100vw - 280px);
22632264
}
22642265
.dock-group { display: flex; align-items: center; gap: 2px; }
22652266
.dock-sep { width: 1px; height: 24px; background: var(--border); margin: 0 6px; }
@@ -3587,12 +3588,13 @@ body.watching .tail-spinner { display: flex; align-items: center; gap: 8px; }
35873588
}
35883589
@media (max-width: 768px) {
35893590
.panel-nav { width: 160px; min-width: 160px; }
3591+
.dock-toolbar { left: 50%; max-width: calc(100vw - 40px); }
35903592
}
35913593
@media (max-width: 600px) {
35923594
.nav-sidebar { display: none; }
35933595
.panel-nav { display: none; }
35943596
.top-nav { padding: 0 10px; }
3595-
.dock-toolbar { left: 50%; }
3597+
.dock-toolbar { bottom: 20px; }
35963598
}
35973599
`
35983600
}

0 commit comments

Comments
 (0)