fix(select-rich): allow hoverable content inside content-wrapper

This commit is contained in:
Joren Broekema 2020-03-24 13:27:07 +01:00 committed by Thomas Allmer
parent bc768670ea
commit eadb0fd971

View file

@ -1,5 +1,5 @@
import { LionButton } from '@lion/button'; import { LionButton } from '@lion/button';
import { html } from '@lion/core'; import { css, html } from '@lion/core';
/** /**
* LionSelectInvoker: invoker button consuming a selected element * LionSelectInvoker: invoker button consuming a selected element
@ -8,6 +8,17 @@ import { html } from '@lion/core';
* @extends {LionButton} * @extends {LionButton}
*/ */
export class LionSelectInvoker extends LionButton { export class LionSelectInvoker extends LionButton {
static get styles() {
return [
super.styles,
css`
#content-wrapper {
position: relative;
}
`,
];
}
static get properties() { static get properties() {
return { return {
/** /**