diff --git a/web_extras/extra.css b/web_extras/extra.css index b817b92..7418de3 100644 --- a/web_extras/extra.css +++ b/web_extras/extra.css @@ -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 */