mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
changelog is visible again
-- not perfect, we now have two scrollbars, needs further fixing
This commit is contained in:
parent
b12fdea76c
commit
1d5457b477
@ -269,7 +269,13 @@ export class Et2Tabs extends Et2InputWidget(SlTabGroup) implements et2_IResizeab
|
|||||||
const initial = firstTab.hasAttribute("active");
|
const initial = firstTab.hasAttribute("active");
|
||||||
firstTab.setAttribute("active", '');
|
firstTab.setAttribute("active", '');
|
||||||
const tabHeight = getComputedStyle(firstTab).height;
|
const tabHeight = getComputedStyle(firstTab).height;
|
||||||
this.tabHeight = maxHeight != '0px' && parseInt(maxHeight) < parseInt(tabHeight) ? maxHeight : tabHeight;
|
if (parseInt(maxHeight) > 50 && parseInt(maxHeight) < parseInt(tabHeight))
|
||||||
|
{
|
||||||
|
this.tabHeight = maxHeight;
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
this.tabHeight = tabHeight;
|
||||||
|
}
|
||||||
if(!initial)
|
if(!initial)
|
||||||
{
|
{
|
||||||
firstTab.removeAttribute("active");
|
firstTab.removeAttribute("active");
|
||||||
|
Loading…
Reference in New Issue
Block a user