s-damian / larasort

Column sorting with Laravel - Eloquent sortable

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS not being applied when using @sortableLink directive

TechhDan opened this issue · comments

I'm looking at the CSS and I see the CSS will only be applied when using the CSS class .with-larasort. Looking over the documentation i don't see that you mention that this class must manually be added. Do i have to manually add this class to the table? I followed the steps in the documentation but the CSS is not being applied.

image

Hello.

You must put the CSS class with-larasort on a HTML tag which encloses the blade directive (on the table or thead tag by example).

I just added it in the documentation, in the "Basic usage" part.

I had forgotten to write this in the doc. Thank you for reporting it to me.