From 65a7abeca2e76f116aeef6569954247dee8c84c0 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 12 Dec 2022 14:26:54 -0700 Subject: [PATCH] A little more space for details dropdown --- .../etemplate/Layout/Et2Details/Et2Details.ts | 34 ++++++++++--------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/api/js/etemplate/Layout/Et2Details/Et2Details.ts b/api/js/etemplate/Layout/Et2Details/Et2Details.ts index 0252ed8c7e..ca4fd4cb6d 100644 --- a/api/js/etemplate/Layout/Et2Details/Et2Details.ts +++ b/api/js/etemplate/Layout/Et2Details/Et2Details.ts @@ -46,22 +46,24 @@ export class Et2Details extends Et2Widget(SlDetails) margin-left: auto; order: 1; } - - .details.hoist { - position: relative; - } - .details.hoist .details__body { - position: absolute; - z-index: var(--sl-z-index-drawer); - background: var(--sl-color-neutral-0); - box-shadow: var(--sl-shadow-large); - width: 100%; - border-radius: var(--sl-border-radius-small); - border: 1px solid var(--sl-color-neutral-200); - max-height: 15em; - overflow-y: auto; - } - `, + + .details.hoist { + position: relative; + } + + .details.hoist .details__body { + position: absolute; + z-index: var(--sl-z-index-drawer); + background: var(--sl-color-neutral-0); + box-shadow: var(--sl-shadow-large); + width: 100%; + min-width: fit-content; + border-radius: var(--sl-border-radius-small); + border: 1px solid var(--sl-color-neutral-200); + max-height: 15em; + overflow-y: auto; + } + `, ]; }