mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 16:26:43 +00:00
Fix faded element in change log (#10737)
This commit is contained in:
parent
ceac9834b9
commit
87f7981144
@ -42,9 +42,7 @@ class HaFaded extends LitElement {
|
|||||||
|
|
||||||
private _setShowContent() {
|
private _setShowContent() {
|
||||||
const height = this._slottedHeight;
|
const height = this._slottedHeight;
|
||||||
if (height !== 0 && height <= this.fadedHeight + 50) {
|
this._contentShown = height !== 0 && height <= this.fadedHeight + 50;
|
||||||
this._contentShown = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected firstUpdated(changedProps) {
|
protected firstUpdated(changedProps) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user