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:
+1
-1
@@ -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
|
||||
);
|
||||
|
||||
@@ -17,7 +17,7 @@ div.title {
|
||||
|
||||
div.details {
|
||||
flex: 1;
|
||||
justify-content: space-evenly;
|
||||
justify-content: center;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user