Skip to content

Commit ced15c1

Browse files
Gabriel JangGabriel Jang
authored andcommitted
fix: align preview header controls
1 parent 310348d commit ced15c1

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

systems/web/src/App.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ export default function App() {
295295

296296
return <div className="app-shell" style={workbench.shellStyle}>
297297
<header className="global-header">
298-
<div className="brand-mark">FO</div>
299298
<div className="brand-copy"><strong>FabOps</strong><span>Decision intelligence for yield excursions</span></div>
300299
<div className="deployment-identity-strip" aria-label="Deployment identity">
301300
<div className="deployment-identity-strip__primary">

systems/web/src/design-system.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ button, textarea, input, select { font-size: var(--ds-type-control); }
138138
.global-header .brand-copy span { font-size: var(--ds-type-meta); }
139139
.mobile-status-ribbon span { font-size: var(--ds-type-meta); }
140140
.deployment-identity-strip {
141-
margin-left: auto;
141+
margin-left: var(--ds-space-4);
142142
min-width: 0;
143143
display: grid;
144144
grid-template-columns: minmax(190px, 1.25fr) minmax(118px, .7fr) minmax(180px, 1fr);

systems/web/src/styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ button:focus-visible, textarea:focus-visible, input:focus-visible, [tabindex]:fo
6262

6363
.app-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr) 318px; grid-template-rows: 52px 38px calc(100vh - 90px); min-height: 100vh; }
6464
.global-header { grid-column: 1 / -1; grid-row: 1; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface); z-index: 3; }
65-
.global-header > div:nth-child(2) { display: flex; flex-direction: column; min-width: 260px; }
65+
.global-header .brand-copy { display: flex; flex-direction: column; min-width: 260px; }
6666
.global-header span { color: var(--ink-muted); font-size: 11px; }
6767
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; background: #173f70; color: white; font-size: 11px; font-weight: 800; border-radius: 4px; }
6868
.header-status { margin-left: auto; display: flex; gap: 8px; }

0 commit comments

Comments
 (0)