mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Tabs check parent (usually a row) for height setting, and apply it to tabs
This commit is contained in:
parent
c510b5f15f
commit
4454d4b2e3
@ -140,6 +140,14 @@ var et2_tabbox = et2_DOMWidget.extend({
|
||||
|
||||
if (tabsElems.length == 1 && tabpanelsElems.length == 1)
|
||||
{
|
||||
|
||||
// Check for a parent height, we'll apply it to tab panels
|
||||
var height = et2_readAttrWithDefault(_node.parentNode, "height",null);
|
||||
if(height)
|
||||
{
|
||||
this.tabContainer.css("height", height);
|
||||
}
|
||||
|
||||
var tabs = tabsElems[0];
|
||||
var tabpanels = tabpanelsElems[0];
|
||||
|
||||
|
@ -542,6 +542,7 @@ ul.et2_link_string {
|
||||
border-style: solid;
|
||||
border-color: silver;
|
||||
padding: 5px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.et2_tabflag.active {
|
||||
|
Loading…
Reference in New Issue
Block a user