mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +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() {
|
||||
const height = this._slottedHeight;
|
||||
if (height !== 0 && height <= this.fadedHeight + 50) {
|
||||
this._contentShown = true;
|
||||
}
|
||||
this._contentShown = height !== 0 && height <= this.fadedHeight + 50;
|
||||
}
|
||||
|
||||
protected firstUpdated(changedProps) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user