]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix loading indicator position/size for tree leafs
authorAndrew Dolgov <noreply@fakecake.org>
Sat, 21 Jan 2017 19:30:20 +0000 (22:30 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Sat, 21 Jan 2017 19:30:20 +0000 (22:30 +0300)
css/dijit.css
js/FeedTree.js

index 68a426e3ce223fbf225051430350910346b0eb91..09c305c7380cf7dbb79551b4df2b4d57f4318646 100644 (file)
        height : 9px;
 }
 
+.claro .dijitTreeNode .loadingExpando {
+       left : -3px;
+       height : 21px;
+}
+
 .claro .dijitFolderClosed,
 .claro .dijitFolderOpened {
        display : none;
index 320f9926418a5196f2022be991fdb09f03664a0f..a78537fea65af161f8d7de2ab04406b8f9b01fd7 100644 (file)
@@ -386,6 +386,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
                                } else {
                                        var icon = dojo.doc.createElement('img');
                                        icon.src = src;
+                                       icon.className = 'loadingExpando';
                                        domConstruct.place(icon, treeNode.expandoNode, 'only');
                                        return true;
                                }