From 0907cf794abe5ebcc21c6663efacded13b474c0b Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 25 Oct 2022 17:31:54 +0100 Subject: [PATCH] force table to display as a table Otherwise table-layout has no effect. I'm not sure why this broke, possibly https://github.com/google/docsy/pull/1255. --- assets/scss/custom.scss | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss index 36566d9a..a491d917 100644 --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -340,6 +340,7 @@ footer { } table { + display: table; table-layout: fixed; width: 100%; @@ -462,10 +463,4 @@ Make padding symmetrical (this selector is used in the default styles to apply p background-position: left 1rem center; background-repeat: no-repeat; padding-left: 100px; -} - -/* Full-width tables */ -.td-content > table { - width: 100%; - display: table; -} +} \ No newline at end of file