Fix markdown table border and background color
This commit is contained in:
parent
4d30215a0f
commit
42a227e439
2 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
5
changelogs/unreleased/52178-markdown-table-borders.yml
Normal file
5
changelogs/unreleased/52178-markdown-table-borders.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Add borders and white background to markdown tables
|
||||||
|
merge_request:
|
||||||
|
author:
|
||||||
|
type: fixed
|
Loading…
Reference in a new issue