mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-8307: UI not showing all Domains, if there are more than 24 domains then the last domain gets cut off on firefox and IE. Added a flag in treeview widget and based on the flag adding css class which will make overflow as scroll instead of the default auto.
Fixes #101 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com> (cherry picked from commit 8591383bcc09b4fd0ff1c6336c6c45199be250b3) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
ab8f367850
commit
fde2887476
@ -7882,6 +7882,10 @@ label.error {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.tree-view.overflowScroll {
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
#browser .tree-view div.toolbar {
|
||||
}
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
|
||||
// Domain tree
|
||||
treeView: {
|
||||
overflowScroll: true,
|
||||
// Details
|
||||
detailView: {
|
||||
name: 'Domain details',
|
||||
|
||||
@ -83,6 +83,10 @@
|
||||
var treeViewArgs = args.treeView;
|
||||
var $browser = args.$browser;
|
||||
|
||||
if(treeViewArgs.overflowScroll) {
|
||||
$treeView.addClass('overflowScroll');
|
||||
}
|
||||
|
||||
makeTreeList({
|
||||
$treeView: $treeView,
|
||||
parent: null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user