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.
This commit is contained in:
Andrew Morgan 2022-10-25 17:31:54 +01:00
parent 5c52d4f714
commit 0907cf794a

View file

@ -340,6 +340,7 @@ footer {
} }
table { table {
display: table;
table-layout: fixed; table-layout: fixed;
width: 100%; 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-position: left 1rem center;
background-repeat: no-repeat; background-repeat: no-repeat;
padding-left: 100px; padding-left: 100px;
} }
/* Full-width tables */
.td-content > table {
width: 100%;
display: table;
}