mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 11:09:13 +00:00
Fix details initial height when open; closes #160
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user