After integrating buttons into my Angular Datatables, I noticed that they have default styling, which makes them stand out from the rest of my web page (refer to the Column Visibility button in the screenshot below):
https://i.sstatic.net/w7Y8g.png
I attempted to use CSS to make the buttons look like the Bootstrap buttons used elsewhere on the page, but my efforts were unsuccessful. Adding my CSS values to
button.dt-button, div.dt-button, a.dt-button {}
required using !important
for every style override, which didn't feel like the right approach.
Additionally, including
bower_components/datatables/media/css/buttons.bootstrap.css
in my page's <links>
section did not produce the desired outcome either.
Is there a straightforward method to achieve this customization?