Fix markdown table border and background color

This commit is contained in:
Annabel Dunstone Gray 2018-10-04 14:27:42 +00:00 committed by Phil Hughes
parent 4d30215a0f
commit 42a227e439
2 changed files with 12 additions and 3 deletions

View file

@ -20,20 +20,24 @@
display: inline-block; display: inline-block;
overflow-x: auto; overflow-x: auto;
border: 0; border: 0;
border-color: $gray-100; border-color: $gl-gray-100;
@supports (width: fit-content) { @supports (width: fit-content) {
display: block; display: block;
width: fit-content; width: fit-content;
} }
tbody {
background-color: $white-light;
}
tr { tr {
th { th {
border-bottom: solid 2px $gray-100; border-bottom: solid 2px $gl-gray-100;
} }
td { td {
border-color: $gray-100; border-color: $gl-gray-100;
} }
} }
} }

View file

@ -0,0 +1,5 @@
---
title: Add borders and white background to markdown tables
merge_request:
author:
type: fixed