Commit ab18641f authored by Dany Jupille's avatar Dany Jupille Committed by Annabel Dunstone Gray

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

parent df0d3f9c
...@@ -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