Allow thumbnails above/below on timeline.
This commit is contained in:
@@ -29,6 +29,8 @@ img {
|
||||
// Restrict images to a maximum of thumbnail size.
|
||||
max-width: var(--frigate-card-thumbnail-size);
|
||||
max-height: var(--frigate-card-thumbnail-size);
|
||||
min-width: var(--frigate-card-thumbnail-size);
|
||||
min-height: var(--frigate-card-thumbnail-size);
|
||||
|
||||
transition: transform 0.2s linear;
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
:host {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
--frigate-card-timeline-thumbnail-size: 75px;
|
||||
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
img {
|
||||
width: var(--frigate-card-timeline-thumbnail-size);
|
||||
height: var(--frigate-card-timeline-thumbnail-size);
|
||||
display: block;
|
||||
}
|
||||
@@ -17,11 +17,11 @@ div.timeline {
|
||||
}
|
||||
div.timeline.left-margin {
|
||||
// Clearance for the drawer button.
|
||||
margin-left: drawer.$drawer-icon-size;
|
||||
margin-left: calc(drawer.$drawer-icon-size + 1px);
|
||||
}
|
||||
div.timeline.right-margin {
|
||||
// Clearance for the drawer button.
|
||||
margin-right: drawer.$drawer-icon-size;
|
||||
margin-right: calc(drawer.$drawer-icon-size + 1px);
|
||||
}
|
||||
|
||||
.vis-text {
|
||||
|
||||
Reference in New Issue
Block a user