File tree 3 files changed +14
-2
lines changed
3 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,18 @@ function __toString()
140
140
$ type = (!in_array ($ this ->type , $ this ->defaults )) ?
141
141
'<a class="code" href="#object- ' . $ this ->type . '"> ' . $ this ->type . '</a> ' : '<code> ' .$ this ->type .'</code> ' ;
142
142
143
- $ value = (empty ($ this ->value )) ?
144
- '<s class="pull-right">no example</s> ' : '<blockquote>Example: ' . $ this ->value . '</blockquote> ' ;
143
+ if (empty ($ this ->value ))
144
+ {
145
+ $ value = '<s class="pull-right">no example</s> ' ;
146
+ }
147
+ else if (self ::class === get_class ($ this ->value ))
148
+ {
149
+ $ value = '<div class="sub-struct"> ' .$ this ->value .'</div> ' ;
150
+ }
151
+ else {
152
+ $ value = '<span class="pull-right">Example: ' . $ this ->value . '</span> ' ;
153
+ }
154
+
145
155
$ return =
146
156
'<dt> ' .
147
157
'<span> ' . $ this ->key . "</span> " .
Original file line number Diff line number Diff line change @@ -95,8 +95,10 @@ body .col-md-10 h2:first-of-type {
95
95
96
96
.row dl .dl-horizontal dt {
97
97
width : 80px ;
98
+ line-height : 30px ;
98
99
}
99
100
.row dl .dl-horizontal dd {
101
+ line-height : 30px ;
100
102
margin-left : 100px ;
101
103
}
102
104
File renamed without changes.
You can’t perform that action at this time.
0 commit comments