Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-10-04 17:27:42 +0300
committerPhil Hughes <me@iamphill.com>2018-10-04 17:27:42 +0300
commit867b4f066f362edde126cf8c0132430c3946f2cc (patch)
tree66d266c8ffc59e3535dd9c1bd800f22294d27266
parent4d30215a0f6109fb71023fe583b3128220920b22 (diff)
parent42a227e4397986a3adce82f786f87e9def487af9 (diff)
Merge branch '52178-markdown-table-borders' into 'master'
Fix markdown table border and background color Closes #52178 See merge request gitlab-org/gitlab-ce!22090
-rw-r--r--app/assets/stylesheets/framework/mixins.scss10
-rw-r--r--changelogs/unreleased/52178-markdown-table-borders.yml5
2 files changed, 12 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/mixins.scss b/app/assets/stylesheets/framework/mixins.scss
index 11597c7e85e..be41dbfc61f 100644
--- a/app/assets/stylesheets/framework/mixins.scss
+++ b/app/assets/stylesheets/framework/mixins.scss
@@ -20,20 +20,24 @@
display: inline-block;
overflow-x: auto;
border: 0;
- border-color: $gray-100;
+ border-color: $gl-gray-100;
@supports (width: fit-content) {
display: block;
width: fit-content;
}
+ tbody {
+ background-color: $white-light;
+ }
+
tr {
th {
- border-bottom: solid 2px $gray-100;
+ border-bottom: solid 2px $gl-gray-100;
}
td {
- border-color: $gray-100;
+ border-color: $gl-gray-100;
}
}
}
diff --git a/changelogs/unreleased/52178-markdown-table-borders.yml b/changelogs/unreleased/52178-markdown-table-borders.yml
new file mode 100644
index 00000000000..965f21f2a97
--- /dev/null
+++ b/changelogs/unreleased/52178-markdown-table-borders.yml
@@ -0,0 +1,5 @@
+---
+title: Add borders and white background to markdown tables
+merge_request:
+author:
+type: fixed