mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Control where the tip breaks (#11819)
This commit is contained in:
parent
a43b3b64b3
commit
bad184210d
@ -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;
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user