mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Better sizing for groupbox / details
This commit is contained in:
parent
69c87ffb94
commit
b070a5992c
@ -52,6 +52,7 @@ export class Et2Details extends Et2Widget(SlDetails)
|
||||
|
||||
.details {
|
||||
border: var(--sl-panel-border-width) solid var(--sl-panel-border-color);
|
||||
margin: 0px;
|
||||
}
|
||||
.details.hoist {
|
||||
position: relative;
|
||||
|
@ -50,7 +50,7 @@ export class Et2Groupbox extends Et2Details
|
||||
*/
|
||||
|
||||
.details__body {
|
||||
height: calc(100% - 3em - var(--sl-border-radius-medium)) !important;
|
||||
height: calc(100% - 2em - var(--sl-border-radius-medium)) !important;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@ -62,7 +62,7 @@ export class Et2Groupbox extends Et2Details
|
||||
.details__content {
|
||||
overflow: hidden;
|
||||
overflow-y: auto;
|
||||
height: 100%;
|
||||
height: calc(100% - 2 * var(--sl-spacing-medium));
|
||||
}
|
||||
|
||||
/* end workaround */
|
||||
@ -89,6 +89,7 @@ export class Et2Groupbox extends Et2Details
|
||||
details.summaryOnTop {
|
||||
padding-top: .5rem;
|
||||
margin-top: .5rem;
|
||||
height: auto;
|
||||
}
|
||||
`,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user