mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Framework WIP:
- Get nextmatch sizing more nicely without messing with dynheight
This commit is contained in:
parent
fe1fb39552
commit
9076110345
@ -171,6 +171,11 @@ egw-app {
|
||||
|
||||
&::part(content) {
|
||||
flex-direction: column;
|
||||
overflow-y:hidden;
|
||||
}
|
||||
|
||||
& > div[id] > div {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@ -178,6 +183,27 @@ egw-app {
|
||||
|
||||
/*** WIDGETS ***/
|
||||
/* This should mostly go away with webcomponents */
|
||||
|
||||
/* Get nextmatch sizing more nicely without messing with dynheight */
|
||||
div.et2_nextmatch {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
& > div:not(:first-child) {
|
||||
flex: 1 1 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.egwGridView_outer {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.egwGridView_scrollarea {
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
@ -239,6 +239,13 @@ export class EgwFramework extends LitElement
|
||||
if(typeof app.opened == "undefined")
|
||||
{
|
||||
app.opened = this.shadowRoot.querySelectorAll("sl-tab").length;
|
||||
// Need to update tabApps directly, reference doesn't work
|
||||
if(typeof this.tabApps[appname] == "object")
|
||||
{
|
||||
let tabApps = {...this.tabApps};
|
||||
tabApps[appname] = app;
|
||||
this.tabApps = tabApps;
|
||||
}
|
||||
this.requestUpdate("applicationList");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user