mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-05 17:09:48 +00:00
Add space for the fab on datatable without tabs (#23545)
Add space for the fab on backups datatable
This commit is contained in:
@@ -515,7 +515,7 @@ export class HaDataTable extends LitElement {
|
||||
return html`<div class="mdc-data-table__row">${row.content}</div>`;
|
||||
}
|
||||
if (row.empty) {
|
||||
return html`<div class="mdc-data-table__row"></div>`;
|
||||
return html`<div class="mdc-data-table__row empty-row"></div>`;
|
||||
}
|
||||
return html`
|
||||
<div
|
||||
@@ -960,6 +960,13 @@ export class HaDataTable extends LitElement {
|
||||
width: var(--table-row-width, 100%);
|
||||
}
|
||||
|
||||
.mdc-data-table__row.empty-row {
|
||||
height: var(
|
||||
--data-table-empty-row-height,
|
||||
var(--data-table-row-height, 52px)
|
||||
);
|
||||
}
|
||||
|
||||
.mdc-data-table__row ~ .mdc-data-table__row {
|
||||
border-top: 1px solid var(--divider-color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user