Skip to content

Commit 6e6d99b

Browse files
committed
Align tab headers with document styling
1 parent 2f1b5a3 commit 6e6d99b

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

components/InfoView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const InfoView: React.FC<InfoViewProps> = ({ settings }) => {
8181
return (
8282
<div className="flex-1 flex flex-col bg-background overflow-hidden min-h-0">
8383
<header className="flex items-center justify-between px-4 h-7 border-b border-border-color bg-secondary flex-shrink-0">
84-
<h1 className="text-xs font-semibold text-text-secondary tracking-[0.2em] uppercase">Application Information</h1>
84+
<h1 className="text-xs font-semibold text-text-secondary tracking-wider uppercase">Application Information</h1>
8585
<nav className="flex items-center gap-1">
8686
{(Object.keys(docFiles) as DocTab[]).map(tab => (
8787
<button

components/LoggerPanel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ const LoggerPanel: React.FC<LoggerPanelProps> = ({ isVisible, onToggleVisibility
119119
onMouseDown={onResizeStart}
120120
className="w-full h-1.5 cursor-row-resize flex-shrink-0 bg-border-color/50 hover:bg-primary transition-colors duration-200"
121121
/>
122-
<header className="flex items-center justify-between px-2 py-1.5 border-b border-border-color flex-shrink-0 gap-2">
123-
<h3 className="text-[11px] font-semibold text-text-main">Application Logs</h3>
122+
<header className="flex items-center justify-between px-2 h-7 border-b border-border-color bg-secondary flex-shrink-0 gap-2">
123+
<h3 className="text-xs font-semibold text-text-secondary tracking-wider uppercase">Application Logs</h3>
124124
<div className="flex items-center gap-1.5 flex-wrap justify-end">
125125
<div className="flex items-center gap-1">
126126
<span className="text-[10px] text-text-secondary">Level:</span>
@@ -145,7 +145,7 @@ const LoggerPanel: React.FC<LoggerPanelProps> = ({ isVisible, onToggleVisibility
145145
className="absolute right-1 top-1/2 -translate-y-1/2 text-[10px] text-text-secondary hover:text-text-main px-1"
146146
aria-label="Clear log filter"
147147
>
148-
×
148+
×
149149
</button>
150150
)}
151151
</div>

components/SettingsView.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -341,17 +341,17 @@ const SettingsView: React.FC<SettingsViewProps> = ({
341341

342342
return (
343343
<div className="flex-1 flex flex-col bg-background h-full">
344-
<header className="flex justify-between items-center p-4 border-b border-border-color flex-shrink-0">
345-
<h1 className="text-xl font-semibold text-text-main">Settings</h1>
346-
<div className="flex flex-col items-end gap-1">
347-
<Button onClick={handleSave} disabled={isSaveDisabled} variant="primary">
348-
{isDirty ? 'Save Changes' : 'Saved'}
349-
</Button>
344+
<header className="flex items-center justify-between px-4 h-7 border-b border-border-color bg-secondary flex-shrink-0">
345+
<h1 className="text-xs font-semibold text-text-secondary tracking-wider uppercase">Settings</h1>
346+
<div className="flex items-center gap-2">
350347
{pythonValidationError && (
351-
<p className="text-[10px] text-destructive-text max-w-xs text-right">
348+
<p className="text-[10px] text-destructive-text max-w-xs text-right leading-tight">
352349
Python settings error: {pythonValidationError}
353350
</p>
354351
)}
352+
<Button onClick={handleSave} disabled={isSaveDisabled} variant="primary" className="whitespace-nowrap">
353+
{isDirty ? 'Save Changes' : 'Saved'}
354+
</Button>
355355
</div>
356356
</header>
357357
<div className="flex-1 flex overflow-hidden">

0 commit comments

Comments
 (0)