Indent line-wrapped class names

This commit is contained in:
Maximilian Krög
2020-02-16 10:27:24 +01:00
parent cc561dab8e
commit 1b4ed08bc5
2 changed files with 8 additions and 3 deletions

View File

@@ -136,6 +136,11 @@ li {
border-bottom: 1px solid #333;
}
.navigation .glyphicon {
margin-right: 3px;
flex-shrink: 0;
}
.navigation li.perfect-match {
border: 5px solid orange;
}
@@ -148,8 +153,8 @@ li {
}
.navigation li.item .title {
cursor: pointer;
position: relative;
display: block;
display: -ms-flexbox;
display: flex;
font-size: 0.85em;
}
.navigation li.item .title a {

View File

@@ -45,7 +45,7 @@ function listContent(item, title, listItemPrinter) {
<li class="item" data-longname="<?js= item.longname ?>" data-name="<?js= item.name.toLowerCase() ?>">
<span class="title">
<span class="glyphicon <?js= getItemCssClass(item.type) ?> toggle"></span>
<?js= self.linkto(item.longname, item.prettyname.replace(/[.~]/g, '\u200b$&')) ?>
<span><?js= self.linkto(item.longname, item.prettyname.replace(/[.~]/g, '\u200b$&')) ?></span>
</span><?js
listContent(item, 'Members', printList);
listContent(item, 'Typedefs', printListWithStability);