Consistent blank before "%" (#8366)

This commit is contained in:
Philip Allgaier 2021-03-07 23:05:20 +01:00 committed by GitHub
parent b71f452795
commit c8ea37eec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 11 deletions

View File

@ -283,8 +283,8 @@ export class HaConfigDeviceDashboard extends LitElement {
title: this.hass.localize("ui.panel.config.devices.data_table.battery"), title: this.hass.localize("ui.panel.config.devices.data_table.battery"),
sortable: true, sortable: true,
type: "numeric", type: "numeric",
width: narrow ? "90px" : "15%", width: narrow ? "95px" : "15%",
maxWidth: "90px", maxWidth: "95px",
template: (batteryEntityPair: DeviceRowData["battery_entity"]) => { template: (batteryEntityPair: DeviceRowData["battery_entity"]) => {
const battery = const battery =
batteryEntityPair && batteryEntityPair[0] batteryEntityPair && batteryEntityPair[0]