Semantic Ui on NPM does not applying styles on pagination button

Semantic Ui on NPM does not applying styles on pagination button

pekokFCpekokFC Posts: 21Questions: 3Answers: 0

Hi there,
why does the style doesn't apply to the pagination button ?

Best Regards,
FR

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947

    Does this example provide the styling you expect?
    https://datatables.net/examples/styling/semanticui.html

    Kevin

  • pekokFCpekokFC Posts: 21Questions: 3Answers: 0

    Thanks for the reply,
    it applied the style after i add following code :

    import 'datatables.net-buttons';
    import 'datatables.net-buttons-se';
    

    Hmm... i have no idea why that happen :neutral:

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin
    Answer ✓

    Did you have import 'datatables.net-se' before?

    Allan

  • pekokFCpekokFC Posts: 21Questions: 3Answers: 0

    No i didn't.
    but i have now. Guess that's fixed the issue.

    Thanks mate ~

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    That'd do it. That's the Semantic UI styling for DataTables core. datatables.net-buttons-se requires it, which is why it works if you were to include that line.

    Allan

This discussion has been closed.