orzih/mkdocs-with-pdf

Alignment issue on Material info boxes

theblacknight opened this issue · 1 comments

Theme: Material

I have an info box that is defined like this:

!!! info
    Info box content goes here.

However the icon doesn't render correctly in the pdf:

image

It renders fine in the generated website:

image

The debug HTML looks like this:

<div class="admonition info">
<p class="admonition-title">Info</p>
<p>Info box content goes here.</p>
</div>

Any help debugging this would be appreciated. Nothing jumped out looking through the plugin css/scss files.

Seems like a duplicate issue of #89. You should probably close this issue and follow the existing issue.

  • @cmaurer posted a solution
  • I added to it, with what worked for me