Reduce height for config entry list in integration page (#16370)

This commit is contained in:
Paul Bottein 2023-05-02 11:12:13 +02:00 committed by GitHub
parent c8e0227a5c
commit 15eab18e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -174,9 +174,11 @@ export class HaIntegrationCard extends LitElement {
${this.items.map( ${this.items.map(
(item) => (item) =>
html`<ha-list-item html`<ha-list-item
dense
hasMeta hasMeta
.entryId=${item.entry_id} .entryId=${item.entry_id}
@click=${this._selectConfigEntry} @click=${this._selectConfigEntry}
class="config-entry"
>${item.title || >${item.title ||
this.hass.localize( this.hass.localize(
"ui.panel.config.integrations.config_entry.unnamed_entry" "ui.panel.config.integrations.config_entry.unnamed_entry"
@ -1026,6 +1028,9 @@ export class HaIntegrationCard extends LitElement {
ha-list-item ha-svg-icon { ha-list-item ha-svg-icon {
color: var(--secondary-text-color); color: var(--secondary-text-color);
} }
.config-entry {
height: 36px;
}
ha-icon-next { ha-icon-next {
width: 24px; width: 24px;
} }