Minor fixes.

This commit is contained in:
Dermot Duffy
2023-08-08 22:49:52 -07:00
parent e7094718bb
commit d9b2b4d4d8
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import { customElement, property } from 'lit/decorators.js';
import { guard } from 'lit/directives/guard.js'; import { guard } from 'lit/directives/guard.js';
import { ifDefined } from 'lit/directives/if-defined.js'; import { ifDefined } from 'lit/directives/if-defined.js';
import { createRef, Ref, ref } from 'lit/directives/ref.js'; import { createRef, Ref, ref } from 'lit/directives/ref.js';
import basicBlockStyle from '../../scss/basic-block.scss'; import basicBlockStyle from '../scss/basic-block.scss';
import { CameraManager } from '../camera-manager/manager.js'; import { CameraManager } from '../camera-manager/manager.js';
import { dispatchMessageEvent, renderProgressIndicator } from '../components/message.js'; import { dispatchMessageEvent, renderProgressIndicator } from '../components/message.js';
import { localize } from '../localize/localize.js'; import { localize } from '../localize/localize.js';
+1 -1
View File
@@ -287,7 +287,7 @@ export const MEDIA_PLAYER_SUPPORT_BROWSE_MEDIA = 131072;
// The number of media items to fetch at a time (for clips/snapshot views, and // The number of media items to fetch at a time (for clips/snapshot views, and
// gallery chunks). Smaller values will cause more frequent smaller fetches, but // gallery chunks). Smaller values will cause more frequent smaller fetches, but
// improved rendering performance. // improved rendering performance.
export const MEDIA_CHUNK_SIZE_DEFAULT = 500; export const MEDIA_CHUNK_SIZE_DEFAULT = 50;
export const MEDIA_CHUNK_SIZE_MAX = 1000; export const MEDIA_CHUNK_SIZE_MAX = 1000;
export const FRIGATE_BUTTON_MENU_ICON = 'frigate'; export const FRIGATE_BUTTON_MENU_ICON = 'frigate';
+4
View File
@@ -43,6 +43,10 @@
var(--frigate-card-grid-column-size) var(--frigate-card-grid-column-size)
) )
); );
// When at item is selected, it may be enlarged -- it should render "in-front"
// of the other cameras that will then "move out of the way".
z-index: 2;
} }
slot { slot {