|
314 | 314 | } |
315 | 315 |
|
316 | 316 | section { |
| 317 | + /* Note that the generated HTML for pub packages may have `section` tags |
| 318 | + transformed into `div` tags. */ |
317 | 319 | margin-bottom: 36px; |
318 | 320 | } |
319 | 321 |
|
@@ -462,7 +464,9 @@ dt.constant + dd p { |
462 | 464 | } |
463 | 465 |
|
464 | 466 | /* indents wrapped lines */ |
465 | | -section.summary dt { |
| 467 | +/* Note that the generated HTML for pub packages may have `section` tags |
| 468 | + transformed into `div` tags, so we have two selectors here. */ |
| 469 | +section.summary dt, div.summary dt { |
466 | 470 | margin-left: 24px; |
467 | 471 | text-indent: -24px; |
468 | 472 | } |
@@ -820,7 +824,10 @@ ol.breadcrumbs li a { |
820 | 824 | font-style: italic; |
821 | 825 | } |
822 | 826 |
|
823 | | -section.multi-line-signature div.parameters { |
| 827 | +/* Note that the generated HTML for pub packages may have `section` tags |
| 828 | + transformed into `div` tags, so we have two selectors here. */ |
| 829 | +section.multi-line-signature div.parameters, |
| 830 | +div.multi-line-signature div.parameters { |
824 | 831 | margin-left: 24px; |
825 | 832 | } |
826 | 833 |
|
@@ -1213,7 +1220,9 @@ a.tt-container { |
1213 | 1220 | box-shadow: 3px 3px 5px rgba(0,0,0,0.1); |
1214 | 1221 | } |
1215 | 1222 |
|
1216 | | -section#setter { |
| 1223 | +/* Note that the generated HTML for pub packages may have `section` tags |
| 1224 | + transformed into `div` tags, so we have two selectors here. */ |
| 1225 | +section#setter, div#setter { |
1217 | 1226 | border-top: 1px solid #ddd; |
1218 | 1227 | padding-top: 36px; |
1219 | 1228 | } |
|
0 commit comments