sindu12jun / table-dragger

Turn your old table to drag-and-drop table with columns and rows sorting like magic!
https://sindu12jun.github.io/table-dragger/
MIT License
750 stars 128 forks source link

CSS styles on table #28

Open singeryo opened 6 years ago

singeryo commented 6 years ago

Hi there,

I've been having some trouble regarding table CSS styles. The probem is actually solved on my end, I just wanted to throw out that the documentation should specify somewhere how CSS should be written.

For instance, table styles should target table by class, not id or some inheritance, otherwise styles will not be added the dragging rows.

Other example: some bootstrap classes may conflict with drag and drop features (mt-5 for example that gives a certain amount of margin on the table actually adds margins to the dragging row).

sindu12jun commented 6 years ago

@singeryo Thank you for your advice,I will consider it

jginsburgn commented 5 years ago

Absolutely agree with @singeryo. Styling documentation is imperative.