From f7f4d1ca58eb54bc87b5edcb12e9afc91e7201ce Mon Sep 17 00:00:00 2001 From: Harshit Bansal Date: Sun, 9 Jul 2017 06:36:58 +0000 Subject: [PATCH] markdown: Fix the broken rendering of tables. It was a regression introduced in the commit `0d08acaa1b5713be464dfca4836e5b238f45621c`. --- static/styles/zulip.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index b2db05807e..9b4012e05f 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -1414,18 +1414,18 @@ div.message_content thead { background-color: hsl(0, 0%, 93%); } -div.message_content div { +div.message_content tr { display: table-row; vertical-align: inherit; } -div.message_content div { +div.message_content tr th { border: 1px solid hsl(0, 0%, 80%); padding: 4px; text-align: left; } -div.message_content div { +div.message_content tr td { border: 1px solid hsl(0, 0%, 80%); padding: 4px; }