kopia lustrzana https://github.com/shoelace-style/shoelace
Fix details initial height when open; closes #160
rodzic
e5a38c27af
commit
b15a12d4e1
|
@ -65,7 +65,8 @@ export class Details {
|
|||
|
||||
// Show on init if open
|
||||
if (this.open) {
|
||||
this.show();
|
||||
this.body.style.height = 'auto';
|
||||
this.body.style.overflow = 'visible';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue