fix height transition + add scroll

This commit is contained in:
Jacob Overgaard
2023-02-15 10:56:32 +01:00
parent aee33197df
commit 1be4da9f3b

View File

@@ -21,12 +21,14 @@ export class UmbDebug extends LitElement {
.events {
background-color: var(--uui-color-danger);
color: var(--uui-color-selected-contrast);
height: 0;
transition: height 0.3s ease-out;
max-height: 0;
transition: max-height 0.15s ease-out;
overflow: hidden;
}
.events.open {
height: auto;
max-height: 500px;
overflow: auto;
}
.events > div {