A little more space for details dropdown

This commit is contained in:
nathan 2022-12-12 14:26:54 -07:00
parent 7b28ec9aed
commit 65a7abeca2

View File

@ -46,22 +46,24 @@ export class Et2Details extends Et2Widget(SlDetails)
margin-left: auto; margin-left: auto;
order: 1; order: 1;
} }
.details.hoist { .details.hoist {
position: relative; position: relative;
} }
.details.hoist .details__body {
position: absolute; .details.hoist .details__body {
z-index: var(--sl-z-index-drawer); position: absolute;
background: var(--sl-color-neutral-0); z-index: var(--sl-z-index-drawer);
box-shadow: var(--sl-shadow-large); background: var(--sl-color-neutral-0);
width: 100%; box-shadow: var(--sl-shadow-large);
border-radius: var(--sl-border-radius-small); width: 100%;
border: 1px solid var(--sl-color-neutral-200); min-width: fit-content;
max-height: 15em; border-radius: var(--sl-border-radius-small);
overflow-y: auto; border: 1px solid var(--sl-color-neutral-200);
} max-height: 15em;
`, overflow-y: auto;
}
`,
]; ];
} }