mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 08:33:31 +01:00
Cleanup dialog default width attrs (#29686)
This commit is contained in:
@@ -410,7 +410,6 @@ export class DemoHaAdaptiveDialog extends LitElement {
|
||||
<pre><code><ha-adaptive-dialog
|
||||
.hass=\${this.hass}
|
||||
open
|
||||
width="medium"
|
||||
header-title="Dialog title"
|
||||
header-subtitle="Dialog subtitle"
|
||||
>
|
||||
|
||||
@@ -79,7 +79,6 @@ class DialogRestartWait extends LitElement {
|
||||
.hass=${this.hass}
|
||||
.open=${this._open}
|
||||
.headerTitle=${this._title}
|
||||
width="medium"
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
<div class="content">
|
||||
|
||||
@@ -213,7 +213,6 @@ class DialogBackupOnboarding extends LitElement implements HassDialog {
|
||||
.hass=${this.hass}
|
||||
.open=${this._open}
|
||||
header-title=${this._stepTitle}
|
||||
width="medium"
|
||||
prevent-scrim-close
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
|
||||
@@ -140,7 +140,6 @@ class DialogRestoreBackup extends LitElement implements HassDialog {
|
||||
.hass=${this.hass}
|
||||
.open=${this._open}
|
||||
header-title=${dialogTitle}
|
||||
width="medium"
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
<div class="content">
|
||||
|
||||
@@ -90,7 +90,6 @@ class DialogSetBackupEncryptionKey extends LitElement implements HassDialog {
|
||||
.hass=${this.hass}
|
||||
.open=${this._open}
|
||||
header-title=${dialogTitle}
|
||||
width="medium"
|
||||
prevent-scrim-close
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
|
||||
@@ -97,7 +97,6 @@ export class DialogTryTts extends LitElement {
|
||||
header-title=${this.hass.localize(
|
||||
"ui.panel.config.cloud.account.tts.dialog.header"
|
||||
)}
|
||||
width="medium"
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
<div>
|
||||
|
||||
@@ -55,7 +55,6 @@ class DialogCloudAlreadyConnected extends LitElement {
|
||||
"ui.panel.config.cloud.dialog_already_connected.heading"
|
||||
)}
|
||||
@closed=${this._dialogClosed}
|
||||
width="medium"
|
||||
>
|
||||
<div class="intro">
|
||||
<span>
|
||||
|
||||
@@ -47,7 +47,6 @@ class DialogCloudCertificate extends LitElement {
|
||||
"ui.panel.config.cloud.dialog_certificate.certificate_information"
|
||||
)}
|
||||
@closed=${this._dialogClosed}
|
||||
width="medium"
|
||||
>
|
||||
<div>
|
||||
<p>
|
||||
|
||||
@@ -95,7 +95,6 @@ export class DialogAddUser extends LitElement {
|
||||
header-title=${this.hass.localize(
|
||||
"ui.panel.config.users.add_user.caption"
|
||||
)}
|
||||
width="medium"
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
<div>
|
||||
|
||||
@@ -71,7 +71,6 @@ class DialogUserDetail extends LitElement {
|
||||
.open=${this._open}
|
||||
prevent-scrim-close
|
||||
header-title=${user.name}
|
||||
width="medium"
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
<div>
|
||||
|
||||
@@ -89,7 +89,6 @@ class DialogExposeEntity extends LitElement {
|
||||
<ha-dialog
|
||||
.hass=${this.hass}
|
||||
.open=${this._open}
|
||||
width="medium"
|
||||
header-title=${header}
|
||||
header-subtitle=${subtitle}
|
||||
prevent-scrim-close
|
||||
|
||||
@@ -58,7 +58,6 @@ export class HuiCreateDialogHeaderFooter
|
||||
),
|
||||
}
|
||||
)}
|
||||
width="medium"
|
||||
@keydown=${this._ignoreKeydown}
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
|
||||
@@ -76,7 +76,6 @@ export class HuiDialogSelectView extends LitElement {
|
||||
.open=${this._open}
|
||||
header-title=${this._params.header ||
|
||||
this.hass.localize("ui.panel.lovelace.editor.select_view.header")}
|
||||
width="medium"
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
${this._params.allowDashboardChange
|
||||
|
||||
@@ -123,7 +123,6 @@ class DialogTodoItemEditor extends LitElement {
|
||||
header-title=${this.hass.localize(
|
||||
`ui.components.todo.item.${isCreate ? "add" : "edit"}`
|
||||
)}
|
||||
width="medium"
|
||||
@closed=${this._dialogClosed}
|
||||
>
|
||||
<div class="content">
|
||||
|
||||
Reference in New Issue
Block a user