Sync thumbnail styles between carousel and gallery.

This commit is contained in:
Dermot Duffy
2021-11-25 20:38:24 -08:00
parent 3c7634d9d5
commit b0bcc6eda5
3 changed files with 13 additions and 6 deletions
+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">