How to deal with tailwind css?

How to deal with tailwind css?

MinhTranMinhTran Posts: 13Questions: 3Answers: 0

Link to test case: https://live.datatables.net/fizuwupi/12/edit
Debugger code (debug.datatables.net): irixub
Description of problem: I am using tailwind css, I do not know why the column Name overlap with column External ID

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Something very odd going on there! I'm not sure that Tailwind has anything to do with it - it is something to do with the image. I'll need to get back to you on this one once I've had a chance to investigate a bit more. Thanks for the excellent test case!

    Allan

  • MinhTranMinhTran Posts: 13Questions: 3Answers: 0

    Hi Allan, I'm sure occur by Tailwind, just remove cdn tailwind issue will resolve

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Answer ✓

    Right enough. It is the max-width: 100% that Tailwind is setting on the img. How odd!

    Adding:

    img {
      max-width: none;
    }
    

    Fixes it.

    Allan

  • MinhTranMinhTran Posts: 13Questions: 3Answers: 0

    Thank Allan

Sign In or Register to comment.