Skip to content

Commit 2e44578

Browse files
committed
Fix HTML rendering issue for unnamed member groups
1 parent 7a10ea4 commit 2e44578

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/htmlgen.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2164,6 +2164,11 @@ void HtmlGenerator::endMemberHeader()
21642164
void HtmlGenerator::startMemberSubtitle()
21652165
{
21662166
DBG_HTML(m_t << "<!-- startMemberSubtitle -->\n")
2167+
if (m_emptySection)
2168+
{
2169+
m_t << "<table class=\"memberdecls\">\n";
2170+
m_emptySection=FALSE;
2171+
}
21672172
m_t << "<tr><td class=\"ititle\" colspan=\"2\">";
21682173
}
21692174

templates/html/doxygen.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,18 @@ tr[class^='memdesc'] {
735735
border-right: 1px solid var(--memdecl-border-color);
736736
}
737737

738+
td.ititle {
739+
border: 1px solid var(--memdecl-border-color);
740+
border-top-left-radius: 4px;
741+
border-top-right-radius: 4px;
742+
padding-left: 10px;
743+
}
744+
745+
tr:not(:first-child) > td.ititle {
746+
border-top: 0;
747+
border-radius: 0;
748+
}
749+
738750
.memItemLeft {
739751
white-space: nowrap;
740752
border-left: 1px solid var(--memdecl-border-color);

0 commit comments

Comments
 (0)