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
|
>Blog</a
|
||||||
>`,
|
>`,
|
||||||
"newsletter",
|
"newsletter",
|
||||||
html`<a
|
html`<span class="keep-together"
|
||||||
|
><a
|
||||||
href=${documentationUrl(this.hass, `/newsletter`)}
|
href=${documentationUrl(this.hass, `/newsletter`)}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
>Newsletter</a
|
>Newsletter</a
|
||||||
>
|
>
|
||||||
<ha-svg-icon class="new" .path=${mdiNewBox}></ha-svg-icon>`
|
<ha-svg-icon class="new" .path=${mdiNewBox}></ha-svg-icon
|
||||||
|
></span>`
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@ -293,6 +295,10 @@ class HaConfigDashboard extends LitElement {
|
|||||||
.new {
|
.new {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.keep-together {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user