Prevent overflow of ripple on device row on integration page (#25922)

This commit is contained in:
Bram Kragten 2025-06-26 12:17:00 +02:00 committed by GitHub
parent 89ab0b4a3d
commit d8ab9b73ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 2 deletions

View File

@ -410,6 +410,9 @@ class HaConfigEntryRow extends LitElement {
<ha-md-list-item
@click=${this._toggleOwnDevices}
type="button"
class="toggle-devices-row ${this._devicesExpanded
? "expanded"
: ""}"
>
<ha-icon-button
class="expand-button"
@ -759,6 +762,14 @@ class HaConfigEntryRow extends LitElement {
var(--md-sys-color-on-surface-variant, #49454f)
);
}
.toggle-devices-row {
overflow: hidden;
border-radius: var(--ha-card-border-radius, 12px);
}
.toggle-devices-row.expanded {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
`,
];
}

View File

@ -5129,7 +5129,7 @@
"hidden": "Hidden"
},
"confirm_disable_config_entry_title": "Disable config entry?",
"confirm_disable_config_entry_message": "There are no more devices for the config entry {name}, do you want to instead disable the config entry?",
"confirm_disable_config_entry_message": "There are no more devices for the config entry {name}, do you want to disable the config entry instead?",
"update_device_error": "Updating the device failed",
"disabled": "Disabled",
"data_table": {
@ -5381,7 +5381,7 @@
"enable": "Enable device",
"disable": "Disable device",
"confirm_disable_title": "Disable device?",
"confirm_disable_message": "Are you sure you want to disable {name} and all of its entities?",
"confirm_disable_message": "Are you sure you want to disable {name} and all of its entities?",
"configure": "Configure device",
"delete": "Remove device"
},