fix: lock would go out of the button
This commit is contained in:
parent
bf075b00e4
commit
0b3e4d331c
|
@ -762,8 +762,8 @@ class ButtonCard extends LitElement {
|
|||
${this._buttonContent(this._stateObj, configState, buttonColor)}
|
||||
<mwc-ripple id="ripple"></mwc-ripple>
|
||||
</ha-card>
|
||||
${this._getLock(lockStyle)}
|
||||
</div>
|
||||
${this._getLock(lockStyle)}
|
||||
${this._config?.tooltip
|
||||
? html`
|
||||
<span class="tooltiptext" style=${styleMap(tooltipStyleFromConfig)}>
|
||||
|
|
|
@ -74,6 +74,10 @@ export const styles = css`
|
|||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
#aspect-ratio {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#overlay {
|
||||
align-items: flex-start;
|
||||
justify-content: flex-end;
|
||||
|
|
Loading…
Reference in New Issue