Skip to content

Commit 76c2a2d

Browse files
committed
test(desktop): pin gateway footer flex layout
1 parent 2db06b7 commit 76c2a2d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

desktop/garyx-desktop/src/renderer/src/sidebar-footer-design.test.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,21 @@ test('sidebar footer pins the Codex frame and divider geometry', () => {
6060
test('gateway and settings controls pin the Codex footer alignment', () => {
6161
const ownerCss = read('styles/gateway-status.css');
6262
expectRule(ownerCss, '.gateway-identity-bar', [
63+
'display: flex',
64+
'align-items: center',
6365
'gap: 8px',
66+
'width: 100%',
6467
'height: 46px',
68+
'min-width: 0',
6569
'padding: 0 8px',
6670
]);
6771
expectRule(ownerCss, '.gateway-identity-main', [
72+
'display: flex',
73+
'align-items: center',
6874
'gap: 8px',
75+
'flex: 1',
6976
'height: 29px',
77+
'min-width: 0',
7078
'padding: 0 8px',
7179
'border-radius: 10px',
7280
'font-family: -apple-system',
@@ -78,6 +86,10 @@ test('gateway and settings controls pin the Codex footer alignment', () => {
7886
'background: var(--color-token-row-hover)',
7987
]);
8088

89+
expectRule(ownerCss, '.gateway-identity-copy', [
90+
'flex: 1',
91+
'min-width: 0',
92+
]);
8193
expectRule(ownerCss, '.gateway-identity-name', [
8294
'font-size: inherit',
8395
'font-weight: inherit',

0 commit comments

Comments
 (0)