From f9cd42438896587da469b76830e13ebf6cf9c120 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Fri, 24 Sep 2021 07:48:57 -0700 Subject: [PATCH] Replace accidental Python variable naming convention. --- src/card.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/card.ts b/src/card.ts index 80377448..5a16a5ad 100644 --- a/src/card.ts +++ b/src/card.ts @@ -419,22 +419,22 @@ export class FrigateCard extends LitElement { } const padding = this._getAspectRatioPadding(); - let container_style_map = {}; + let containerStyleMap = {}; if (padding != null) { - container_style_map = { + containerStyleMap = { 'padding-top': `${padding}%`, }; } - const content_classes = { + const contentClasses = { 'frigate-card-contents': true, absolute: padding != null, }; return html` ${this.config.menu_mode == 'above' ? this._renderMenu() : ''} -
-
+
+
${this._view.is('clips') || this._view.is('snapshots') ? html`