swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.63k stars 1.68k forks source link

Bootstrap theme applied incorrectly. #1496

Open bill-ying opened 6 years ago

bill-ying commented 6 years ago

I created a simple table and applied bootstrap theme. The font became smaller, but did not change the font family. Also I remember the table is supposed to be striped, but it did not happen.

nunos7 commented 6 years ago

Hi, The bootstrap theme do not change font-family: .ngx-datatable.bootstrap { box-shadow: none; font-size: 13px; ......

bill-ying commented 6 years ago

@nunos7 Thanks!

The demo with bootstrap theme at http://swimlane.github.io/ngx-datatable/#bootstrap shows the rows are striped. However, it does not happen on my local computer. Did I miss anything?

nunos7 commented 6 years ago

Hi, You can put here your css and table code? Check if your scss has this: &.datatable-row-even { background-color: rgba(0, 0, 0, 0.05); }

bill-ying commented 6 years ago

Thank you very much for the reply. In node_modules folder, swimlane's ngx-datatable installed by npm, the above line is in bootstrap.css file.