Tweak retain_definitely to work wide the newer thumbnails.

This commit is contained in:
Dermot Duffy
2022-03-20 20:06:20 -07:00
parent c4ec94573c
commit 0ae9afef4b
7 changed files with 41 additions and 27 deletions
+14 -14
View File
@@ -1,16 +1,21 @@
@use "@material/image-list/mdc-image-list";
@use "@material/image-list";
@use '@material/image-list/mdc-image-list';
@use '@material/image-list';
@use 'thumbnail';
:host {
display: block;
width: 100%;
height: 100%;
overflow: auto;
-ms-overflow-style: none; /* Hide scrollbar: IE and Edge */
scrollbar-width: none; /* Hide scrollbar: Firefox */
// Hide scrollbar: IE and Edge
-ms-overflow-style: none;
// Hide scrollbar: Firefox
scrollbar-width: none;
}
/* Hide scrollbar for Chrome, Safari and Opera */
// Hide scrollbar for Chrome, Safari and Opera
:host::-webkit-scrollbar {
display: none;
}
@@ -44,12 +49,7 @@ ha-card.frigate-card-gallery-folder {
height: 100%;
line-height: 1;
}
.favorite {
position: absolute;
transform: translate(-50%, -50%);
height: 24px;
width: 24px;
top: 10%;
left: 90%;
color: yellow;
}
@include thumbnail.thumbnail-favorite() {
opacity: 0.8;
} ;