Text Panel: fixes unnecessary scroll in markdown html tables (#40315)

* Text Panel: fixes unnecessary scroll in tables

* uses more robust solution that covers every edge case

* chore: uses variables instead and sets first child margins to zero

* override margin for only h1 and figure elements

* remove override styles for h1,table markdown contents
This commit is contained in:
Uchechukwu Obasi 2021-10-14 15:43:33 +01:00 committed by GitHub
parent 48eacd1ea6
commit 51a48e1869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -213,8 +213,8 @@ a.external-link {
margin-bottom: $spacer;
}
table {
margin-bottom: $spacer;
*:not(:first-child) {
margin-top: $spacer;
}
table {