mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Fix hassio repositories tooltip (#22610)
This commit is contained in:
parent
152b665f2e
commit
f4df5852fb
@ -120,9 +120,6 @@ class HassioRepositoriesDialog extends LitElement {
|
||||
</div>
|
||||
<div class="delete" slot="end">
|
||||
<ha-icon-button
|
||||
.label=${this._dialogParams!.supervisor.localize(
|
||||
"dialog.repositories.remove"
|
||||
)}
|
||||
.disabled=${usedRepositories.includes(repo.slug)}
|
||||
.slug=${repo.slug}
|
||||
.path=${usedRepositories.includes(repo.slug)
|
||||
@ -146,7 +143,11 @@ class HassioRepositoriesDialog extends LitElement {
|
||||
</ha-md-list-item>
|
||||
`
|
||||
)
|
||||
: html`<ha-md-list-item> No repositories </ha-md-list-item>`}
|
||||
: html`<ha-md-list-item
|
||||
>${this._dialogParams!.supervisor.localize(
|
||||
"dialog.repositories.no_repositories"
|
||||
)}</ha-md-list-item
|
||||
>`}
|
||||
</ha-md-list>
|
||||
<div class="layout horizontal bottom">
|
||||
<ha-textfield
|
||||
@ -212,6 +213,7 @@ class HassioRepositoriesDialog extends LitElement {
|
||||
}
|
||||
ha-md-list-item {
|
||||
position: relative;
|
||||
--md-item-overflow: visible;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
@ -15,6 +15,9 @@ export class HaMdListItem extends MdListItem {
|
||||
--md-sys-color-on-surface: var(--primary-text-color);
|
||||
--md-sys-color-on-surface-variant: var(--secondary-text-color);
|
||||
}
|
||||
md-item {
|
||||
overflow: var(--md-item-overflow, hidden);
|
||||
}
|
||||
`,
|
||||
];
|
||||
}
|
||||
|
@ -7774,7 +7774,8 @@
|
||||
"title": "Manage add-on repositories",
|
||||
"add": "Add",
|
||||
"remove": "Remove",
|
||||
"used": "Repository is in use for installed add-ons and can't be removed."
|
||||
"used": "Repository is in use for installed add-ons and can't be removed.",
|
||||
"no_repositories": "No repositories"
|
||||
},
|
||||
"restart_addon": {
|
||||
"title": "Restart {name}?",
|
||||
|
Loading…
x
Reference in New Issue
Block a user