Skip to content

Commit bec6bf0

Browse files
committed
PR doxygen#12195 Limit max height of images to fit the index line height
1 parent 00dcb24 commit bec6bf0

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

templates/html/doxygen.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,8 +594,9 @@ img.formulaInl, img.inline {
594594
}
595595

596596
div.toc img.inline {
597-
float: none;
598-
vertical-align: top
597+
float: none;
598+
vertical-align: top;
599+
max-height: 14px;
599600
}
600601
div.center {
601602
text-align: center;

templates/html/navtree.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
border:0px;
3333
vertical-align: middle;
3434
float: none;
35+
max-height: 20px;
3536
}
3637

3738
#nav-tree a {
@@ -240,12 +241,13 @@ div.nav-sync-icon:hover span.sync-icon-right {
240241
display: block;
241242
width: 250px;
242243
box-sizing: content-box;
243-
position: relative;
244+
position: relative;
244245
border-left: 1px solid var(--nav-border-color);
245246
}
246247

247248
#page-nav img.inline {
248-
float: none;
249+
float: none;
250+
max-height: 19px;
249251
}
250252

251253
#page-nav-tree {

0 commit comments

Comments
 (0)