Skip to content

Commit b30320b

Browse files
jherforthclaude
andcommitted
Fewer lines, not just fainter: drop second-level divider rules
One soft line per major boundary (top bar, pane seams, composer edge); the rules under the Files toolbar, chat session header, editor toolbar, tab bar, and between tabs are gone — spacing and background shifts do the separating inside a pane. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent f1f469e commit b30320b

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

packages/web-ui/src/components/ChatPane.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export function ChatPane({
332332

333333
{/* Chat header — session switcher (sessions belong to the chat, not the file tree) */}
334334
{onSelectSession && (
335-
<div className="relative z-20 flex items-center gap-1 px-3 py-1.5 border-b border-monastery-dark-border shrink-0">
335+
<div className="relative z-20 flex items-center gap-1 px-3 py-1.5 shrink-0">
336336
<div className="relative min-w-0">
337337
<button
338338
onClick={() => setSessionMenuOpen(o => !o)}

packages/web-ui/src/components/EditorPane.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ export function EditorPane({
3535
}: EditorPaneProps) {
3636
return (
3737
<div className="h-full bg-monastery-dark-surface flex flex-col animate-slideInRight">
38-
{/* Tab Bar */}
38+
{/* Tab Bar — tabs separate themselves by background, not ruled lines */}
3939
{tabs.length > 0 && (
40-
<div className="flex items-center border-b border-monastery-dark-border bg-monastery-dark-bg overflow-x-auto shrink-0">
40+
<div className="flex items-center bg-monastery-dark-bg overflow-x-auto shrink-0">
4141
{tabs.map((tab, i) => (
4242
<div
4343
key={tab.path}
4444
onClick={() => onSelectTab(i)}
45-
className={`group flex items-center gap-1.5 px-3 py-1.5 text-xs cursor-pointer border-r border-monastery-dark-border transition-colors shrink-0 ${
45+
className={`group flex items-center gap-1.5 px-3 py-1.5 text-xs cursor-pointer transition-colors shrink-0 ${
4646
i === activeTabIndex
4747
? 'bg-monastery-dark-surface text-monastery-text-primary border-t-2 border-t-monastery-lantern'
4848
: 'text-monastery-text-secondary hover:bg-monastery-dark-surface hover:text-monastery-text-primary'
@@ -64,7 +64,7 @@ export function EditorPane({
6464
)}
6565

6666
{/* Editor Toolbar */}
67-
<div className="flex items-center justify-between px-3 py-1.5 border-b border-monastery-dark-border shrink-0">
67+
<div className="flex items-center justify-between px-3 py-1.5 shrink-0">
6868
<span className="text-xs text-monastery-text-muted truncate">
6969
{currentFile || 'No file selected'}
7070
</span>

packages/web-ui/src/components/Sidebar.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,9 @@ export function Sidebar({
234234
{(
235235
<div>
236236
{/* Files Toolbar */}
237-
<div className="flex items-center gap-1 px-3 py-1.5 border-b border-monastery-dark-border mb-1">
237+
{/* No rule under the toolbar — the label + spacing is the header; one soft line
238+
per major boundary, none inside a pane. */}
239+
<div className="flex items-center gap-1 px-3 py-1.5 mb-1">
238240
<span className="text-xs text-monastery-text-muted flex-1">Files</span>
239241

240242
{/* Refresh from disk — surfaces files written outside Monastery (e.g. by Hermes) */}

0 commit comments

Comments
 (0)