Break primary anywhere (#9050)
This commit is contained in:
parent
551d3ffdf3
commit
d57e8a45d3
|
@ -61,6 +61,9 @@ const nameAsDomainEntry = createConfigEntry("ESPHome");
|
|||
const longNameEntry = createConfigEntry(
|
||||
"Entry with a super long name that is going to the next line"
|
||||
);
|
||||
const longNonBreakingNameEntry = createConfigEntry(
|
||||
"EntryWithASuperLongNameThatDoesNotBreak"
|
||||
);
|
||||
const configPanelEntry = createConfigEntry("Config Panel", {
|
||||
domain: "mqtt",
|
||||
localized_domain_name: "MQTT",
|
||||
|
@ -141,6 +144,7 @@ const configEntries: Array<{
|
|||
{ items: [optionsFlowEntry] },
|
||||
{ items: [nameAsDomainEntry] },
|
||||
{ items: [longNameEntry] },
|
||||
{ items: [longNonBreakingNameEntry] },
|
||||
{ items: [setupErrorEntry] },
|
||||
{ items: [migrationErrorEntry] },
|
||||
{ items: [setupRetryEntry] },
|
||||
|
@ -154,6 +158,7 @@ const configEntries: Array<{
|
|||
setupErrorEntry,
|
||||
migrationErrorEntry,
|
||||
longNameEntry,
|
||||
longNonBreakingNameEntry,
|
||||
setupRetryEntry,
|
||||
failedUnloadEntry,
|
||||
notLoadedEntry,
|
||||
|
|
|
@ -150,6 +150,7 @@ export class HaIntegrationHeader extends LitElement {
|
|||
margin-top: 16px;
|
||||
margin-right: 2px;
|
||||
font-weight: 400;
|
||||
line-break: anywhere;
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
.secondary {
|
||||
|
|
Loading…
Reference in New Issue