mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
Home: Fix missing portlet settings button
This commit is contained in:
parent
fce9ba3a41
commit
bb0436661d
@ -92,11 +92,11 @@ export class Et2Portlet extends Et2Widget(SlCard)
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.portlet__header et2-button-icon {
|
.portlet__header .portlet__settings-icon {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.portlet__header:hover et2-button-icon {
|
.portlet__header:hover .portlet__settings-icon {
|
||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -577,8 +577,9 @@ export class Et2Portlet extends Et2Widget(SlCard)
|
|||||||
|
|
||||||
<header class="portlet__header">
|
<header class="portlet__header">
|
||||||
<slot name="header" part="header" class="card__header">${this.headerTemplate()}</slot>
|
<slot name="header" part="header" class="card__header">${this.headerTemplate()}</slot>
|
||||||
<et2-button-icon id="settings" name="gear" label="Settings" noSubmit=true
|
<sl-icon-button id="settings" name="gear" label="Settings" class="portlet__settings-icon"
|
||||||
@click="${() => this.edit_settings()}"></et2-button-icon>
|
@click="${() => this.edit_settings()}">
|
||||||
|
</sl-icon-button>
|
||||||
</header>
|
</header>
|
||||||
<slot part="body" class="card__body">${this.bodyTemplate()}</slot>
|
<slot part="body" class="card__body">${this.bodyTemplate()}</slot>
|
||||||
<slot name="footer" part="footer" class="card__footer">${this.footerTemplate()}</slot>
|
<slot name="footer" part="footer" class="card__footer">${this.footerTemplate()}</slot>
|
||||||
|
Loading…
Reference in New Issue
Block a user