mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
Keep right-to-left credits clear of the corner row and the readout
From review, checked in headless Chromium at 1100-1920px wide, Tactical and Minimal, left to right and right to left, with a credit line long enough to wrap: - Right to left with the Minimal HUD the credits stayed bottom left, under the language picker and Power Up: the Minimal placement's two IDs outweighed the right-to-left rule, which now matches it. - Right to left from 1200px a wrapped credit line ran into the Tactical bottom-right readout (AIS); the readout sits 1.5rem higher there. - The left rail no longer reads a top pin no stylesheet sets since Cyber went; VUE-MIGRATION no longer lists the removed cyberTheme test, and CURRENT-STATE notes the narrow-screen credit line that does not wrap (as on main). Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
d68adcea21
commit
ea3d543e13
7 files changed
+38
-13
No files matched your search
@@ -484,15 +484,21 @@ test('the desktop bottom row: credits on the Power Up baseline, the dock lifted,
|
||||
`\\{\\s*bottom: calc\\(2vh \\+ 5rem \\+ ${lift}\\);\\s*width: auto !important;\\s*max-width: calc\\(100vw - 3rem\\);\\s*white-space: nowrap;`,
|
||||
),
|
||||
);
|
||||
// Right to left the corner row is at the bottom left, so the row moves right.
|
||||
// Right to left the corner row is at the bottom left, so the row moves
|
||||
// right, with the Minimal HUD too (its placement names #intel-hud).
|
||||
assert.match(
|
||||
trayWide,
|
||||
/html\[dir='rtl'\]\s*body:not\(\.context-docked\):not\(\.ui-clean-view\):not\(\.recording-mode\)\s*:is\(#cesium-credits, #gev-credits\) \{\s*right: 1\.5rem;\s*left: auto;/,
|
||||
/html\[dir='rtl'\]\s*body:not\(\.context-docked\):not\(\.ui-clean-view\):not\(\.recording-mode\)\s*:is\(#cesium-credits, #gev-credits\),\s*html\[dir='rtl'\]\s*body:not\(\.context-docked\):not\(\.ui-clean-view\):not\(\.recording-mode\):has\(\s*#intel-hud\[data-variant='minimal'\]\.active\s*\)\s*:is\(#cesium-credits, #gev-credits\) \{\s*right: 1\.5rem;\s*left: auto;/,
|
||||
);
|
||||
assert.match(
|
||||
trayWide,
|
||||
/#cesium-credits\s*\.cesium-widget-credits \{\s*right: 0;\s*left: auto;/,
|
||||
);
|
||||
// There the readout clears two lines of the row under it.
|
||||
assert.match(
|
||||
read('./styles/omnibar-dock.css'),
|
||||
/html\[dir='rtl'\] \*\)\s*#intel-hud\[data-variant='tactical'\]\s*\.hud-bottom-right \{\s*bottom: calc\(3\.375rem \+ 1\.5rem\);/,
|
||||
);
|
||||
const locale = read('./styles/locale-picker.css');
|
||||
assert.match(locale, /#corner-actions \{[^}]*inset-inline-end: 0\.9rem;/);
|
||||
|
||||
|
||||
Reference in new issue
Block a user