css: Fix horizontal scrolling of markdown table when overflow.

Previously Zulip's markdown tables didn't properly configure the overflow CSS rules
to allow proper scrolling.

Fixes #16205.
This commit is contained in:
Sankalp 2020-09-01 07:14:14 +05:30 committed by GitHub
parent 8ebff434fb
commit 437332ff5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@
padding-right: 10px; padding-right: 10px;
margin: 5px 5px 5px 5px; margin: 5px 5px 5px 5px;
width: 99%; width: 99%;
display: block;
max-width: fit-content;
overflow-x: auto;
white-space: nowrap;
} }
thead { thead {