mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 01:06:35 +00:00
Fix wrapping for diagnostics row (#6595)
This commit is contained in:
parent
283b134d84
commit
41b613a2d7
@ -65,7 +65,7 @@ class HassioSupervisorInfo extends LitElement {
|
|||||||
<span slot="heading">
|
<span slot="heading">
|
||||||
Share Diagnostics
|
Share Diagnostics
|
||||||
</span>
|
</span>
|
||||||
<span slot="description">
|
<div slot="description" class="diagnostics-description">
|
||||||
Share crash reports and diagnostic information.
|
Share crash reports and diagnostic information.
|
||||||
<button
|
<button
|
||||||
class="link"
|
class="link"
|
||||||
@ -73,7 +73,7 @@ class HassioSupervisorInfo extends LitElement {
|
|||||||
>
|
>
|
||||||
Learn more
|
Learn more
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</div>
|
||||||
<ha-switch
|
<ha-switch
|
||||||
.checked=${this.supervisorInfo.diagnostics}
|
.checked=${this.supervisorInfo.diagnostics}
|
||||||
@change=${this._toggleDiagnostics}
|
@change=${this._toggleDiagnostics}
|
||||||
@ -153,6 +153,11 @@ class HassioSupervisorInfo extends LitElement {
|
|||||||
button.link {
|
button.link {
|
||||||
color: var(--primary-color);
|
color: var(--primary-color);
|
||||||
}
|
}
|
||||||
|
.diagnostics-description {
|
||||||
|
white-space: normal;
|
||||||
|
padding: 0;
|
||||||
|
color: var(--secondary-text-color);
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@ -224,7 +229,7 @@ class HassioSupervisorInfo extends LitElement {
|
|||||||
accessible to the Home Assistant Core team and will not be shared with
|
accessible to the Home Assistant Core team and will not be shared with
|
||||||
others.
|
others.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
The data does not include any private/sensetive information and you can
|
The data does not include any private/sensitive information and you can
|
||||||
disable this in settings at any time you want.`,
|
disable this in settings at any time you want.`,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user