mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01: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`
|
||||
:host > div {
|
||||
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];
|
||||
}
|
||||
}
|
||||
else if (this.computedStyleMap)
|
||||
{
|
||||
for (var name in props)
|
||||
{
|
||||
let s = this.computedStyleMap().get(name)
|
||||
if (s)
|
||||
{
|
||||
old[name] = s.value || "";
|
||||
}
|
||||
}
|
||||
}
|
||||
jQuery(this).show();
|
||||
oldProps.push(old);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user