Skip to content

Commit 480c85d

Browse files
ymansurozerclaude
andauthored
fix: align sidebar tab bar and guide bar bottom borders (#23)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent c18204d commit 480c85d

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

src/ui/index.html

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@
7979
--radius-xl: 12px;
8080
--radius-pill: 999px;
8181

82+
/* Height of the secondary bar directly under the top header — shared by the sidebar
83+
Tree/Walkthrough tab strip (.tree-tabs) and the guide bar (.guidebar) so their bottom
84+
borders form one continuous line across the column seam. Keep both in sync. */
85+
--subbar-h: 40px;
86+
8287
/* Gap between the +added / −removed (and state badge) churn indicators, kept in sync
8388
across every surface that renders them: sidebar walkthrough, Overview group headers
8489
+ file rows, and the diff header. */
@@ -468,8 +473,8 @@
468473
display: flex;
469474
align-items: center;
470475
gap: 10px;
471-
padding: 7px 12px;
472-
min-height: 38px;
476+
padding: 0 12px;
477+
height: var(--subbar-h);
473478
background: var(--surface);
474479
border-bottom: 1px solid var(--line);
475480
font-size: var(--text-sm)
@@ -971,8 +976,11 @@
971976
.tree-tabs {
972977
flex: 0 0 auto;
973978
display: flex;
979+
align-items: stretch;
974980
gap: 2px;
975-
margin: 0 0 8px;
981+
height: var(--subbar-h);
982+
margin: -8px -10px 8px;
983+
padding: 0 4px;
976984
border-bottom: 1px solid var(--line)
977985
}
978986

@@ -982,7 +990,9 @@
982990
color: var(--muted);
983991
font: inherit;
984992
font-size: var(--text-sm);
985-
padding: 3px 8px 5px;
993+
display: inline-flex;
994+
align-items: center;
995+
padding: 0 8px;
986996
cursor: pointer;
987997
border-bottom: 2px solid transparent;
988998
margin-bottom: -1px

0 commit comments

Comments
 (0)