mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 09:42:30 +02:00
CSS / Layout cleanup
- Fix select with tags=true causes hidden WebComponents to display Chosen wants to do sizing calculations which wasn't working properly on w.c.
This commit is contained in:
parent
ca794817eb
commit
7d86272b28
@ -133,7 +133,13 @@ export class Et2VBox extends Et2Box
|
|||||||
css`
|
css`
|
||||||
:host > div {
|
:host > div {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}`
|
}
|
||||||
|
/* CSS for child elements */
|
||||||
|
::slotted(*) {
|
||||||
|
/* Stop children from growing vertically. In general we want them to stay their "normal" height */
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
|
`
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -275,6 +275,17 @@ egw.extend('utils', egw.MODULE_GLOBAL, function()
|
|||||||
old[name] = this.style[name];
|
old[name] = this.style[name];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (this.computedStyleMap)
|
||||||
|
{
|
||||||
|
for (var name in props)
|
||||||
|
{
|
||||||
|
let s = this.computedStyleMap().get(name)
|
||||||
|
if (s)
|
||||||
|
{
|
||||||
|
old[name] = s.value || "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
jQuery(this).show();
|
jQuery(this).show();
|
||||||
oldProps.push(old);
|
oldProps.push(old);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user