mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Put Et2Description content into light DOM to fix decrypt on hover
This commit is contained in:
parent
b9892687e9
commit
0f362f9717
@ -19,6 +19,10 @@ export class Et2Description extends Et2Widget(LitElement) implements et2_IDetach
|
||||
|
||||
static get styles()
|
||||
{
|
||||
/**
|
||||
* No styles for Et2Description due to how we're rendering content directly into light DOM
|
||||
* anything added here won't work
|
||||
*/
|
||||
return [
|
||||
...super.styles,
|
||||
css`
|
||||
@ -150,6 +154,15 @@ export class Et2Description extends Et2Widget(LitElement) implements et2_IDetach
|
||||
return html`${render}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Put everything into the light DOM
|
||||
* @returns {this}
|
||||
*/
|
||||
createRenderRoot()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
async firstUpdated()
|
||||
{
|
||||
this.removeEventListener('click.extra_link', this._handleClick);
|
||||
|
@ -231,7 +231,7 @@ div.et2_hbox > div {
|
||||
/**
|
||||
* Label widget, and labels for other widgets
|
||||
*/
|
||||
.et2_label {
|
||||
.et2_label, et2-description {
|
||||
color: #101050;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user