jothepro / doxygen-awesome-css

Custom CSS theme for doxygen html-documentation with lots of customization parameters.
https://jothepro.github.io/doxygen-awesome-css/
MIT License
981 stars 112 forks source link

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

Closed jothepro closed 1 year ago

jothepro commented 1 year ago

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
MuellerSeb commented 1 year ago

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.

jothepro commented 1 year ago

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

StefanBattmer commented 1 year ago

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