Commit cb64d81b authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch 'table-fix-scroll-and-block' into 'master'

Fix large table horizontal scroll and prevent side-by-side tables

Closes #44014

See merge request gitlab-org/gitlab-ce!25520
parents df0d3f9c ab18641f
...@@ -26,16 +26,11 @@ ...@@ -26,16 +26,11 @@
*/ */
@mixin markdown-table { @mixin markdown-table {
width: auto; width: auto;
display: inline-block; display: block;
overflow-x: auto; overflow-x: auto;
border: 0; border: 0;
border-color: $gl-gray-100; border-color: $gl-gray-100;
@supports (width: fit-content) {
display: block;
width: fit-content;
}
tr { tr {
th { th {
border-bottom: solid 2px $gl-gray-100; border-bottom: solid 2px $gl-gray-100;
......
---
title: Fix large table horizontal scroll and prevent side-by-side tables
merge_request: 25520
author: Dany Jupille
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment