Problem::host-context(:fullscreen) & matches when an ancestor is fullscreen. If the component's host element itself enters fullscreen, this selector may not match across all engines.
Fix: Add :host(:fullscreen) .container { ... } alongside the existing rule for engine compatibility.
Acceptance criteria:
Snake fullscreen scaling works whether host or ancestor is fullscreen
Tested in Chromium, Firefox, Safari/WebKit
**Severity:** Medium (UI)
**File:** `spikersoft-angular/projects/spikersoft/src/app/_components/_games/github-snake/github-snake.component.scss` (~8-16)
**Problem:** `:host-context(:fullscreen) &` matches when an *ancestor* is fullscreen. If the component's host element itself enters fullscreen, this selector may not match across all engines.
**Fix:** Add `:host(:fullscreen) .container { ... }` alongside the existing rule for engine compatibility.
**Acceptance criteria:**
- [ ] Snake fullscreen scaling works whether host or ancestor is fullscreen
- [ ] Tested in Chromium, Firefox, Safari/WebKit
Both fullscreen rules now combine :host-context(:fullscreen) & with :host(:fullscreen) & so the layout adjusts whether an ancestor or the host element itself enters fullscreen.
**Resolved.**
Both fullscreen rules now combine `:host-context(:fullscreen) &` with `:host(:fullscreen) &` so the layout adjusts whether an ancestor or the host element itself enters fullscreen.
File: `spikersoft-angular/projects/spikersoft/src/app/_components/_games/github-snake/github-snake.component.scss`.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Severity: Medium (UI)
File:
spikersoft-angular/projects/spikersoft/src/app/_components/_games/github-snake/github-snake.component.scss(~8-16)Problem:
:host-context(:fullscreen) &matches when an ancestor is fullscreen. If the component's host element itself enters fullscreen, this selector may not match across all engines.Fix: Add
:host(:fullscreen) .container { ... }alongside the existing rule for engine compatibility.Acceptance criteria:
Resolved.
Both fullscreen rules now combine
:host-context(:fullscreen) &with:host(:fullscreen) &so the layout adjusts whether an ancestor or the host element itself enters fullscreen.File:
spikersoft-angular/projects/spikersoft/src/app/_components/_games/github-snake/github-snake.component.scss.