diff --git a/src/Yavsc/Views/Shared/_Layout.cshtml b/src/Yavsc/Views/Shared/_Layout.cshtml index f354f6d0..25b75fe3 100644 --- a/src/Yavsc/Views/Shared/_Layout.cshtml +++ b/src/Yavsc/Views/Shared/_Layout.cshtml @@ -10,7 +10,6 @@ - diff --git a/src/Yavsc/wwwroot/css/site.css b/src/Yavsc/wwwroot/css/site.css index c7045d16..e62c7f4e 100644 --- a/src/Yavsc/wwwroot/css/site.css +++ b/src/Yavsc/wwwroot/css/site.css @@ -29,3 +29,9 @@ img.blogphoto { font-style: italic; font-size: x-small; } + +.blogcomment { + display: inline-block; + padding: .3em; + border: solid black 1px; +} diff --git a/src/Yavsc/wwwroot/js/comment.js b/src/Yavsc/wwwroot/js/comment.js index 225275dd..121d73a5 100644 --- a/src/Yavsc/wwwroot/js/comment.js +++ b/src/Yavsc/wwwroot/js/comment.js @@ -34,12 +34,13 @@ $.widget("psc.blogcomment", { }, toggleCollapse: function(_this, ev) { _this.collapsed = !_this.collapsed; + var icon = $(_this.ctlBtn).children().first(); if (_this.collapsed) { - $(_this.ctlBtn).removeClass('glyphicon-collapse-down'); - $(_this.ctlBtn).addClass('glyphicon-collapse-up'); + icon.removeClass('ui-icon-plus'); + icon.addClass('ui-icon-minus'); } else { - $(_this.ctlBtn).removeClass('glyphicon-collapse-up'); - $(_this.ctlBtn).addClass('glyphicon-collapse-down'); + icon.removeClass('ui-icon-minus'); + icon.addClass('ui-icon-plus'); } if (_this.editable) { _this.toggleEdit(_this, ev)