@@ -5,13 +5,12 @@ import { CBLCARSDashboardStrategy, CBLCARSViewStrategy, CBLCARSViewStrategyAirlo
5
5
import { CBLCARSCardEditor } from './editor/cb-lcars-editor.js' ;
6
6
import { loadFont } from './utils/cb-lcars-theme.js' ;
7
7
8
- import { CBLCARSPanel } from './panel/cb-lcars-panel.js' ;
9
-
10
- import { LitElement , html , css } from 'lit' ;
11
8
import { property , customElement , state } from 'lit/decorators.js' ;
12
-
13
9
import { ButtonCard } from "./cblcars-button-card.js"
14
10
11
+ // WIP - do we want to make a panel for this?
12
+ import { CBLCARSPanel } from './panel/cb-lcars-panel.js' ;
13
+
15
14
// Promises for loading the templates and stub configuration
16
15
let templatesPromise ;
17
16
let stubConfigPromise ;
@@ -136,7 +135,7 @@ class CBLCARSBaseCard extends ButtonCard {
136
135
this . _enableResizeObserver = config . enable_resize_observer || false ;
137
136
138
137
// Set the _logLevel property from the config
139
- this . _logLevel = config . log_level || 'info' ;
138
+ this . _logLevel = config . cblcars_log_level || 'info' ;
140
139
141
140
super . setConfig ( this . _config ) ;
142
141
cblcarsLog ( 'debug' , `${ this . constructor . name } .setConfig() called with:` , this . _config , this . _logLevel ) ;
@@ -200,7 +199,7 @@ class CBLCARSBaseCard extends ButtonCard {
200
199
201
200
// Check if the parent element has the class 'preview'
202
201
if ( this . parentElement && this . parentElement . classList . contains ( 'preview' ) ) {
203
- this . style . height = 'minmax(45px,120px) ' ;
202
+ this . style . height = '60px ' ;
204
203
} else {
205
204
this . style . height = '100%' ;
206
205
}
0 commit comments