mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-15 07:58:23 +01:00
Et2Details: Fix overlaySummaryOnOpen was not implemented when hoist=false
This commit is contained in:
parent
d4c819899c
commit
fb1732de84
@ -76,6 +76,24 @@ export class Et2Details extends Et2Widget(SlDetails)
|
||||
display: block;
|
||||
}
|
||||
|
||||
.details:not(.hoist).details--open.details--overlay-summary {
|
||||
.details__summary {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.details__body {
|
||||
margin-top: calc(-1 * var(--sl-input-height-medium));
|
||||
}
|
||||
|
||||
.details__body.overlaySummaryRightAligned {
|
||||
padding-right: calc(3 * var(--sl-spacing-medium));
|
||||
}
|
||||
|
||||
.details__body.overlaySummaryLeftAligned {
|
||||
padding-left: calc(3 * var(--sl-spacing-medium));
|
||||
}
|
||||
}
|
||||
|
||||
.details.hoist .details__body {
|
||||
position: absolute;
|
||||
z-index: var(--sl-z-index-drawer);
|
||||
@ -182,6 +200,7 @@ export class Et2Details extends Et2Widget(SlDetails)
|
||||
'details--open': this.open,
|
||||
'details--disabled': this.disabled,
|
||||
'details--rtl': isRtl,
|
||||
'details--overlay-summary': this.overlaySummaryOnOpen,
|
||||
'hoist': this.hoist
|
||||
})}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user