1
mirror of https://github.com/home-assistant/frontend synced 2024-09-28 00:43:28 +02:00

Add word wrap to device model and manufacturer (#10941)

This commit is contained in:
Philip Allgaier 2021-12-20 10:24:44 +01:00 committed by GitHub
parent 29819fac23
commit 1f7d4c25d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -118,9 +118,9 @@ export class HaDeviceCard extends LitElement {
word-wrap: break-word; word-wrap: break-word;
} }
.manuf, .manuf,
.entity-id,
.model { .model {
color: var(--secondary-text-color); color: var(--secondary-text-color);
word-wrap: break-word;
} }
`; `;
} }

View File

@ -218,9 +218,11 @@ class ZHADeviceCard extends SubscribeMixin(LitElement) {
.device .manuf { .device .manuf {
color: var(--secondary-text-color); color: var(--secondary-text-color);
margin-bottom: 20px; margin-bottom: 20px;
word-wrap: break-word;
} }
.extra-info { .extra-info {
margin-top: 8px; margin-top: 8px;
word-wrap: break-word;
} }
state-badge { state-badge {
cursor: pointer; cursor: pointer;