From b0bcc6eda58e0503473a0efb6885c0bc5a298f28 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Thu, 25 Nov 2021 20:38:24 -0800 Subject: [PATCH] Sync thumbnail styles between carousel and gallery. --- src/components/gallery.ts | 4 ++-- src/scss/gallery.scss | 13 ++++++++++--- src/scss/thumbnail-carousel.scss | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/components/gallery.ts b/src/components/gallery.ts index e4751776..a1f60247 100644 --- a/src/components/gallery.ts +++ b/src/components/gallery.ts @@ -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`