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