Refine Harbor device ecosystem guidance and device panel layout
This commit is contained in:
@@ -163,11 +163,12 @@ test('secondary menus share one right rail and switch equal drawers as a vertica
|
||||
assert.match(rule('.client-drawer'), /transform:\s*translateX\(104%\)/);
|
||||
assert.match(rule('.client-drawer'), /z-index:\s*50/);
|
||||
assert.match(rule('.client-drawer'), /box-shadow:/);
|
||||
assert.match(styles, /\.client-secondary-menu:has\(\.client-rail-action\.is-open\) \.client-rail-action > span\s*\{[^}]*opacity:\s*0/);
|
||||
assert.deepEqual(
|
||||
['.client-confirmation-popup', '.client-secondary-menu', '.client-drawer', '.harbor-versions'].map(zIndex),
|
||||
[100, 60, 50, 40],
|
||||
);
|
||||
assert.match(styles, /@media \(min-width: 921px\) \{[\s\S]*\.client-drawer \{[\s\S]*right:\s*64px;[\s\S]*width:\s*min\(580px, calc\(100vw - 64px\)\)/);
|
||||
assert.doesNotMatch(styles, /\.client-drawer\s*\{[^}]*right:\s*64px/);
|
||||
assert.match(instructions, /<Drawer[\s\S]*className="client-instructions"/);
|
||||
assert.match(routing, /<Drawer[\s\S]*className="client-local-rules"/);
|
||||
assert.match(subscription, /<Drawer[\s\S]*className="client-subscription-drawer"/);
|
||||
|
||||
Reference in New Issue
Block a user