From 17dd6e50975f364aa8b3f6a5550c59f9a64d0233 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 18 Apr 2019 22:56:56 -0400 Subject: [PATCH] docs: Fix markdown table layout in html rendering Signed-off-by: Kevin O'Connor --- docs/_layouts/default.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index d6467044..e9d6a3c6 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -28,6 +28,21 @@ padding: 0; background: transparent; } + + .markdown-body table td, .markdown-body table th { + border: 1px solid #dfe2e5; + padding: 6px 13px; + } + .markdown-body table tr { + background-color: #fff; + border-top: 1px solid #c6cbd1; + } + .markdown-body table tr:nth-child(2n) { + background-color: #f6f8fa; + } + .markdown-body table { + margin-bottom: 16px; + }