Sync thumbnail styles between carousel and gallery.

This commit is contained in:
Dermot Duffy committed 2021-11-25 20:38:24 -08:00
1 parent 3c7634d9d5
commit b0bcc6eda5
3 files changed
+13 -6

No files matched your search

+2 -2
View File
@@ -146,8 +146,8 @@ export class FrigateCardGalleryCore extends LitElement {
}
const styles = {
// Controls the number of columns in the gallery (allows for 1px gutter).
width: `calc(${100 / this._columns}% - 1.2px)`,
// Controls the number of columns in the gallery (allows for 5px gutter).
width: `calc(${100 / this._columns}% - 5.25px)`,
};
return html` <ul class="mdc-image-list frigate-card-gallery">