'BootstapVue table sticky header small imperfection/defect
I recently met a problem with sticky-header function of BootstrapVue lib and I cannot find what to customize to make it work correctly.
Here is the thing:
Jsfiddle
<div id="app">
<div>
<b-table style="max-height: 50vh;" sticky-header bordered :items="items"></b-table>
</div>
</div>
If you scroll down table you will see that above 'sticky-header' there is a rly small gap (I would say its 1px) by its pain in the eyes :D
I tryed inspect it in browser by cannot even find that header box..
And I would ask any CSS master to help with this to reduce this gap to zero :)
Solution 1:[1]
This could help you:
.b-table-sticky-header > .table.b-table > thead > tr > th { top: -1px }
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Moebius |

