Refactor viewer to support other viewer players.
This commit is contained in:
@@ -1,14 +1,4 @@
|
||||
@use 'media-layout.scss';
|
||||
|
||||
.embla__slide {
|
||||
height: 100%;
|
||||
flex: 0 0 100%;
|
||||
}
|
||||
|
||||
.embla__slide img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
@include media-layout.media-layout();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
@use 'media-layout.scss';
|
||||
|
||||
:host {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
img,
|
||||
frigate-card-ha-hls-player {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
@include media-layout.media-layout();
|
||||
}
|
||||
|
||||
frigate-card-progress-indicator {
|
||||
padding: 30px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
Reference in New Issue
Block a user