mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Make update actions sticky on more info (#21053)
This commit is contained in:
parent
433c00b73a
commit
bfa8b886ab
@ -126,7 +126,6 @@ class MoreInfoUpdate extends LitElement {
|
|||||||
></ha-checkbox>
|
></ha-checkbox>
|
||||||
</ha-formfield> `
|
</ha-formfield> `
|
||||||
: ""}
|
: ""}
|
||||||
<hr />
|
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
${this.stateObj.attributes.auto_update
|
${this.stateObj.attributes.auto_update
|
||||||
? ""
|
? ""
|
||||||
@ -240,10 +239,20 @@ class MoreInfoUpdate extends LitElement {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.actions {
|
.actions {
|
||||||
|
border-top: 1px solid var(--divider-color);
|
||||||
|
background: var(
|
||||||
|
--ha-dialog-surface-background,
|
||||||
|
var(--mdc-theme-surface, #fff)
|
||||||
|
);
|
||||||
margin: 8px 0 0;
|
margin: 8px 0 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
position: sticky;
|
||||||
|
bottom: 0;
|
||||||
|
padding: 12px 0;
|
||||||
|
margin-bottom: -24px;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.actions mwc-button {
|
.actions mwc-button {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user