On Fri 10 Mar 2017 06:12 +0000, Radostin Stoyanov via aur-dev wrote: > I like the idea of expanding the long comments and an easy solution > using JQuery could be adding link or button: > > Expand (on click) -> $(this).closest('p').css("max-height", "none"); > > Condense (on click) -> $(this).closest('p').css("max-height", "10em"); > > > I tested in the browser console with: > > $($('.article-content')[0]).children('p').css("max-height", "none"); > > $($('.article-content')[0]).children('p').css("max-height", "10em");
Really all this fancy formatting should be done in a separate client interface. I think that the AUR itself should remain as simple as possible.