Skip to content

Commit

Permalink
update vehicle-info-card.js, styles.css and editor.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ngocjohn committed Jun 11, 2024
1 parent aad626e commit b9e5314
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 77 deletions.
217 changes: 141 additions & 76 deletions dist/vehicle-info-card.js

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions src/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ header h1 {
}
}

.charging-icon {
position: absolute;
display: flex;
align-content: center;
top: -7px;
left: 29%;
}

.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
Expand Down
1 change: 0 additions & 1 deletion src/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { HomeAssistant, fireEvent, LovelaceCardEditor } from 'custom-card-helper

import { VehicleCardConfig } from './types';
import { customElement, property, state } from 'lit/decorators';
import yaml from 'js-yaml';
import { CARD_VERSION } from './const';
@customElement('vehicle-info-card-editor')
export class VehicleCardEditor extends LitElement implements LovelaceCardEditor {
Expand Down

0 comments on commit b9e5314

Please sign in to comment.