Skip to content

Commit 59c68d2

Browse files
committed
add clearfix to example and result blocks
1 parent 12a6587 commit 59c68d2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/css/doc.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,13 @@
590590
padding: 0.75rem;
591591
}
592592

593+
.doc .exampleblock > .content::after,
594+
.doc details.result > .content::after {
595+
content: "";
596+
display: table;
597+
clear: both;
598+
}
599+
593600
.doc .exampleblock > .content > :first-child,
594601
.doc details.result > .content > :first-child {
595602
margin-top: 0;

0 commit comments

Comments
 (0)