Skip to content

Fixes code overflow in admonition block

Athan Clark requested to merge admonition-table-layout-20210817 into master

This MR just applies the following restrictive css:

div.admonitionblock > table {
  table-layout: fixed;
  width: 100%;
}

This forces the wrapped <table> to be the same width as its surrounding parent, the <div class="admonitionblock">. Now all other styles flow correctly, and the overflow is prevented.

Merge request reports