When you have a responsive b-table with sortable columns, sr-only
text is added to show that columns can be clicked to sort or remove sorting. However, these columns can cause empty horizontal overflow.
sr-only
span in the final column.The page should not expand because of the presence of the sr-only
span
Libraries:
Environment:
https://codepen.io/a_sqaure/pen/zYKeBOL
Make sure page is narrow enough for table to overflow, then scroll horizontally outside the table
Showing the sr-only
span in the DOM:
Overflow is removed if the sr-only
span is deleted:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4