Skip to content

Commit 30a77ae

Browse files
authored
Merge pull request #33 from bitstarr/master
Clearfix for posts with thumbnails and a little improvement
2 parents 551fe94 + a805a01 commit 30a77ae

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

css/attached-posts-admin.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,17 @@
3939
}
4040

4141
.cmb-type-custom-attached-posts .has-thumbnails.connected {
42-
height: 600px;
42+
height: 30em;
4343
}
4444

4545
.cmb-type-custom-attached-posts .has-thumbnails li {
4646
clear: both;
4747
}
48+
.cmb-type-custom-attached-posts .has-thumbnails li::after {
49+
content: ' ';
50+
display: block;
51+
clear: both;
52+
}
4853

4954
.cmb-type-custom-attached-posts .has-thumbnails li img {
5055
margin-right: 10px;

0 commit comments

Comments
 (0)