Skip to content

Commit

Permalink
fix for tables being cut of when centered (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
jothepro committed Feb 13, 2023
1 parent a13955e commit 05fa388
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doxygen-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -1603,6 +1603,10 @@ table.doxtable tbody {
border-radius: var(--border-radius-small);
}

table.markdownTable, table.doxtable, table.fieldtable {
padding: 1px;
}

table.doxtable caption {
display: block;
}
Expand Down
7 changes: 7 additions & 0 deletions include/MyLibrary/example.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ class Example {
* <li>Item 2
* </ul>
* </table>
*
* A table can be centered with the `<center>` html tag:
* <center>
* | Centered | Table |
* |------------------|----------------|
* | with some random | content
* </center>
*
* ## Lists
*
Expand Down

0 comments on commit 05fa388

Please sign in to comment.