From: Andrew Dolgov Date: Sat, 21 Jan 2017 19:30:20 +0000 (+0300) Subject: fix loading indicator position/size for tree leafs X-Git-Tag: 17.1~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b7d63a58db2ab0d209bc45ec2681ad22bf251958;p=tt-rss.git fix loading indicator position/size for tree leafs --- diff --git a/css/dijit.css b/css/dijit.css index 68a426e3..09c305c7 100644 --- a/css/dijit.css +++ b/css/dijit.css @@ -61,6 +61,11 @@ height : 9px; } +.claro .dijitTreeNode .loadingExpando { + left : -3px; + height : 21px; +} + .claro .dijitFolderClosed, .claro .dijitFolderOpened { display : none; diff --git a/js/FeedTree.js b/js/FeedTree.js index 320f9926..a78537fe 100644 --- a/js/FeedTree.js +++ b/js/FeedTree.js @@ -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; }