[aur-dev] Stop limiting the height of AUR comments?
Loui Chang
louipc.ist at gmail.com
Fri Mar 10 14:32:15 UTC 2017
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.
More information about the aur-dev
mailing list