jothepro / doxygen-awesome-css

Custom CSS theme for doxygen html-documentation with lots of customization parameters.

Home Page:https://jothepro.github.io/doxygen-awesome-css/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Centering a table with `<center>` cuts off the border of the table

jothepro opened this issue · comments

As reported in #88, a table can not be centered with the <center> html tag, because then the left and right borders of the table will be cut of on small screens (when the table covers the full width of the content):

Bildschirmfoto 2022-10-02 um 14 25 55

As mentioned, this hack solved it for me:

table{
  padding:1px;
}

But still, the table content is centered as well in each cell. I don't know if it is desired that way, but I wouldn't say so.

I've added your workaround to the latest release v2.2.0. The table should not be cut off now.

Just checked with our documentation. Works like a charm! Thanks!