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: 20,309Questions: 26Answers: 4,770

    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: 61,726Questions: 1Answers: 10,110 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: 61,726Questions: 1Answers: 10,110 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.