* Vertically align table cells for icons

Added vertical-align: middle to table td and th elements to ensure icons and content are centered within table cells. This improves visual alignment in tables.

* Set fixed height for pattern icons in tables

Updated CSS to ensure images with alt text starting with 'param_' inside tables have a fixed height of 45px for consistent appearance.
This commit is contained in:
Ian Bassi
2026-01-09 12:24:22 -03:00
committed by GitHub
parent 95d8cf3f4c
commit cf20f042bf

View File

@@ -285,12 +285,18 @@ h1 + ol, h2 + ol, h3 + ol, h4 + ol{
padding: .75em 1.25em;
}
/* Let table images respect their explicit dimensions */
.md-typeset table img {
/* Vertical align table cells so icons sit in the middle */
.md-typeset table td,
.md-typeset table th {
vertical-align: middle;
}
/* Keep pattern icons fixed at 45px inside tables */
.md-typeset table img[alt^="param_"] {
max-width: none;
max-height: none;
width: auto;
height: unset !important;
height: 45px !important;
}
/* /////// FOOTER */