@sentinel-nvr/web 0.19.0 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui/ui.css CHANGED
@@ -442,6 +442,11 @@
442
442
  outline: 2px solid var(--accent);
443
443
  outline-offset: 2px;
444
444
  }
445
+ /* the picture's box: the snapshot, and under it the camera's last picture until the snapshot is decoded */
446
+ .nvr-camtile__pic {
447
+ position: absolute;
448
+ inset: 0;
449
+ }
445
450
  .nvr-camtile__img {
446
451
  position: absolute;
447
452
  inset: 0;
@@ -2658,7 +2663,17 @@
2658
2663
  .nvr-cam[data-nvr-appearance='immersive'] .nvr-cam__body.nvr-cam__body--clip {
2659
2664
  --stage-maxh: max(28vh, min(46vh, 100dvh - 22rem));
2660
2665
  }
2666
+ /* the picture's card is sticky. It cannot move (it is its column's only child, the column is as tall as the card),
2667
+ so the layout stays as it is. WebKit (iOS 26, from its source) takes a fixed or sticky box at the top edge of the
2668
+ viewport for the page's top bar: a home-screen app then shows its status bar on the background it finds there
2669
+ (here the stage's) instead of laying its soft blur over what starts below the status bar, the top of the picture
2670
+ with the header row. WebKit hit-tests only fixed and sticky boxes (and what is inside them) at the middle of the
2671
+ top edge, takes the topmost one and walks up from it to the first fixed or sticky box at least 90 % as wide as
2672
+ the viewport; it never looks further down. So on this page the host keeps that point free of its own fixed boxes,
2673
+ and a picture narrower than that (a square or upright camera on a small phone) keeps the blur. */
2661
2674
  .nvr-cam[data-nvr-appearance='immersive'] .nvr-stage-card {
2675
+ position: sticky;
2676
+ top: 0;
2662
2677
  border: 0;
2663
2678
  border-radius: 0;
2664
2679
  box-shadow: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentinel-nvr/web",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "Shared browser code for the Sentinel NVR plugin for Scrypted: API model + client (/api), player (/player) and React UI with i18n + themes (/ui). Consumed by the plugin's own web UI and the HAPulse dashboard.",
5
5
  "license": "MIT",
6
6
  "author": "Muggedadscher",