From eadb0fd9714207e015862bb7e2f8d623515c2837 Mon Sep 17 00:00:00 2001 From: Joren Broekema Date: Tue, 24 Mar 2020 13:27:07 +0100 Subject: [PATCH] fix(select-rich): allow hoverable content inside content-wrapper --- packages/select-rich/src/LionSelectInvoker.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/select-rich/src/LionSelectInvoker.js b/packages/select-rich/src/LionSelectInvoker.js index dd30134e0..190ed14be 100644 --- a/packages/select-rich/src/LionSelectInvoker.js +++ b/packages/select-rich/src/LionSelectInvoker.js @@ -1,5 +1,5 @@ import { LionButton } from '@lion/button'; -import { html } from '@lion/core'; +import { css, html } from '@lion/core'; /** * LionSelectInvoker: invoker button consuming a selected element @@ -8,6 +8,17 @@ import { html } from '@lion/core'; * @extends {LionButton} */ export class LionSelectInvoker extends LionButton { + static get styles() { + return [ + super.styles, + css` + #content-wrapper { + position: relative; + } + `, + ]; + } + static get properties() { return { /**