Fix invalid display of enum sub-fields docs

This commit is contained in:
Guillaume Gomez 2017-08-30 23:16:25 +02:00
parent 51a54b6dc0
commit bde0071d1d

View File

@ -658,11 +658,13 @@ h3 > .collapse-toggle, h4 > .collapse-toggle {
.toggle-wrapper {
position: relative;
margin-top: 5px;
}
.toggle-wrapper.collapsed {
height: 1em;
height: 25px;
transition: height .2s;
margin-bottom: .6em;
}
.collapse-toggle > .inner {
@ -704,14 +706,16 @@ span.since {
margin-top: 5px;
}
.variant + .toggle-wrapper > a {
margin-top: 5px;
}
.sub-variant, .sub-variant > h3 {
margin-top: 0 !important;
}
.toggle-label {
display: inline-block;
margin-left: 4px;
margin-top: 3px;
}
.enum > .toggle-wrapper + .docblock, .struct > .toggle-wrapper + .docblock {
margin-left: 30px;
margin-bottom: 20px;