From e1a48a2456201a43328554e10d9c6a291241c24a Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Thu, 26 Feb 2026 12:26:51 +0100 Subject: [PATCH] Make top arrow reach top edge of timeline bar Fork group fills full timeline height with space-between layout. Arrow buttons flex to fill remaining space so both arrow tips reach their respective edges of the timeline bar. Co-Authored-By: Claude Opus 4.6 --- js/snapshot_manager.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/js/snapshot_manager.js b/js/snapshot_manager.js index 900da83..234f31c 100644 --- a/js/snapshot_manager.js +++ b/js/snapshot_manager.js @@ -2077,7 +2077,9 @@ const CSS = ` display: flex; flex-direction: column; align-items: center; + justify-content: space-between; flex-shrink: 0; + height: 100%; } .snap-timeline-branch-btn { background: none; @@ -2092,15 +2094,12 @@ const CSS = ` align-items: center; justify-content: center; width: 18px; - height: 8px; + flex: 1; border-radius: 2px; flex-shrink: 0; opacity: 0.7; transition: opacity 0.1s, background 0.1s; } -.snap-timeline-branch-btn:first-child { - margin-bottom: -3px; -} .snap-timeline-branch-btn:hover { opacity: 1; background: rgba(59, 130, 246, 0.2);