feat: Increase max thumbnail size to 300px (#1703)

* feat: Remove max thumbnail size

* Remove old comment.

* Set max to 350px

* Decrease max size to 300px
This commit is contained in:
Dermot Duffy
2024-12-08 13:03:47 -08:00
committed by GitHub
parent b2b7a0853c
commit 649b0280ee
10 changed files with 16 additions and 21 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
:host {
--frigate-card-thumbnail-size-max: 175px;
--frigate-card-thumbnail-size-max: 300px;
--frigate-card-thumbnail-details-width: calc(
var(--frigate-card-thumbnail-size) + 200px
);
+1 -1
View File
@@ -17,7 +17,7 @@ div.title {
div.details {
flex: 1;
justify-content: space-evenly;
justify-content: center;
display: flex;
flex-direction: column;
+1 -1
View File
@@ -27,7 +27,7 @@ ha-icon {
var(--ha-card-border-radius, 4px)
);
max-width: var(--frigate-card-thumbnail-size);
width: var(--frigate-card-thumbnail-size);
max-height: 100%;
aspect-ratio: 1 / 1;