From 4b4fb4b9f9f78e42f4ae7db7e682d4dba43a2b5b 2014-04-10 21:19:36 From: Paul Ivanov Date: 2014-04-10 21:19:36 Subject: [PATCH] use fixed-width icons, closes #5555 --- diff --git a/IPython/html/static/tree/js/notebooklist.js b/IPython/html/static/tree/js/notebooklist.js index 7eef320..a90250f 100644 --- a/IPython/html/static/tree/js/notebooklist.js +++ b/IPython/html/static/tree/js/notebooklist.js @@ -204,7 +204,7 @@ var IPython = (function (IPython) { item.data('name', name); item.data('path', path); item.find(".item_name").text(name); - item.find(".item_icon").addClass('folder_icon'); + item.find(".item_icon").addClass('folder_icon').addClass('icon-fixed-width'); item.find("a.item_link") .attr('href', utils.url_join_encode( @@ -221,7 +221,7 @@ var IPython = (function (IPython) { item.data('nbname', nbname); item.data('path', path); item.find(".item_name").text(nbname); - item.find(".item_icon").addClass('notebook_icon'); + item.find(".item_icon").addClass('notebook_icon').addClass('icon-fixed-width'); item.find("a.item_link") .attr('href', utils.url_join_encode( @@ -236,7 +236,7 @@ var IPython = (function (IPython) { NotebookList.prototype.add_name_input = function (nbname, item) { item.data('nbname', nbname); - item.find(".item_icon").addClass('notebook_icon'); + item.find(".item_icon").addClass('notebook_icon').addClass('icon-fixed-width'); item.find(".item_name").empty().append( $('') .addClass("nbname_input")