wenzhixin / bootstrap-table-examples

Bootstrap table examples
https://examples.bootstrap-table.com/
MIT License
2.24k stars 1.62k forks source link

Column Class example not working in documentation. #507

Closed North46 closed 4 months ago

North46 commented 5 months ago

Bootstraptable version(s) affected

1.22.3

Description

The example given for using Column Class doesn't appear to be working: https://examples.bootstrap-table.com/#column-options/class.html https://live.bootstrap-table.com/example/column-options/class.html

The second column is blank (header and cells) until you hover over it and the text appears as normal (except header nothing appears). Would have thought the text appears like normal except white on a green background with no hover effect.

Tried Chrome, Firefox, Edge and Opera.

Is this a problem with documentation or an actual bug??

Example(s)

No response

Possible Solutions

No response

Additional Context

No response

designdisorder commented 5 months ago

Looks like the CSS definition of the success class requires an !important to set the background color i.e. background: green !important;

I don't think it is a bug, but just an documentation issue

North46 commented 5 months ago

Certainly looks like your right - thanks!

In my limited experience, incorrect documentation is the biggest challenge/frustration/time waste developers face. Hope someone can correct this.

wenzhixin commented 4 months ago

I updated the example; thanks for your feedback.