mirror of
https://github.com/OrcaSlicer/OrcaSlicer_WIKI.git
synced 2026-05-17 08:35:46 +03:00
Fixes (#99)
* 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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user