Responsive Bootstrap Table with Sticky Header

前端 未结 1 1851
太阳男子
太阳男子 2021-01-22 07:26

I have a table. The only CSS I am adding to the standard Bootstrap library is the following to implement the sticky header:

1条回答
  •  清歌不尽
    2021-01-22 08:12

    There's no way to co-exist a position: sticky inside a .table-responsive without re-implementing the latter.

    My solution ended up to be using .table-responsive-sm to refuse this trade-off when a responsive table is certainly not needed.

    0 讨论(0)
提交回复
热议问题