Fix large table horizontal scroll and prevent side-by-side tables
What does this MR do?
This pull-request fixes 2 know issues:
-
#51731 (closed)
A wiki table written right after another table is displayed next to it rather than on a new line -
#44014 (closed)
Large tables in wikis overflow on the right rather than displaying an horizontal scroll bar
For #51731 (closed), the fix is to use display: block
for markdown tables in general, rather than only when @supports (width: fit-content)
passes, which would result to a display: inline-block
.
For #44014 (closed), the use of width: fit-content
is removed since it seems to nullify overflow-x: auto
.
What are the relevant issue numbers?
- #51731 (closed)
- closes #44014 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process. -
Security reports checked/validated by reviewer
Edited by Dany Jupille