Fix fullscreen bug.
This commit is contained in:
@@ -44,7 +44,7 @@ export class FrigateCardThumbnailCarousel extends FrigateCardCarousel {
|
||||
set highlight_selected(value: boolean) {
|
||||
this.style.setProperty(
|
||||
'--frigate-card-carousel-thumbnail-opacity',
|
||||
value ? '0.6' : '1.0',
|
||||
value ? '0.4' : '1.0',
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
:host {
|
||||
--frigate-card-carousel-thumbnail-opacity: 0.8;
|
||||
|
||||
// In fullscreen mode, without explicitly setting the height to auto Chrome
|
||||
// will construct a stylesheet with 100% height.
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.embla__slide {
|
||||
|
||||
Reference in New Issue
Block a user