mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ActionTabSet, Change position absolute to bottom instead of top (#5602)
* change position absolute to bottom instead of top * Fixed bottom position to 100% to uncover the tabset title
This commit is contained in:
parent
0c719e2138
commit
b4c5c71a0b
@ -107,7 +107,7 @@
|
||||
} else {
|
||||
this.removeClass('rise-up');
|
||||
if (activeTab.position() !== null) {
|
||||
$(activePanel).css('top', '0px');
|
||||
$(activePanel).css('bottom', '100%');
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
@ -130,10 +130,10 @@ $.entwine('ss', function($) {
|
||||
$(activePanel).css('top',topPosition+"px");
|
||||
}
|
||||
} else {
|
||||
// else remove the rise-up class and set top to 0
|
||||
// else remove the rise-up class and set bottom to 100%
|
||||
this.removeClass('rise-up');
|
||||
if (activeTab.position() !== null){
|
||||
$(activePanel).css('top','0px');
|
||||
$(activePanel).css('bottom','100%');
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user