Control where the tip breaks (#11819)

This commit is contained in:
Zack Barett 2022-02-23 19:42:32 -06:00 committed by GitHub
parent a43b3b64b3
commit bad184210d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,13 +177,15 @@ class HaConfigDashboard extends LitElement {
>Blog</a
>`,
"newsletter",
html`<a
html`<span class="keep-together"
><a
href=${documentationUrl(this.hass, `/newsletter`)}
target="_blank"
rel="noreferrer"
>Newsletter</a
>
<ha-svg-icon class="new" .path=${mdiNewBox}></ha-svg-icon>`
<ha-svg-icon class="new" .path=${mdiNewBox}></ha-svg-icon
></span>`
)}
</span>
</div>
@ -293,6 +295,10 @@ class HaConfigDashboard extends LitElement {
.new {
color: var(--primary-color);
}
.keep-together {
display: inline-block;
}
`,
];
}