Skip to content

Commit 1e5dd63

Browse files
1v9stevenjoezhang
authored andcommitted
Fix Group Pictures layout (theme-next#931)
1 parent 913fbf3 commit 1e5dd63

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

source/css/_common/components/tags/group-pictures.styl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,18 @@
33
box-sizing: border-box;
44
padding: 0 3px;
55
border: none;
6+
margin: 0 auto;
67
}
78
}
89

9-
.post .group-picture-row {
10+
.post-body .group-picture-row {
1011
overflow: hidden;
11-
margin-top: 6px;
12-
&:first-child { margin-top: 0; }
12+
margin-bottom: 6px;
1313
}
1414

15-
.post .group-picture-column { float: left; }
16-
17-
.page-post-detail .post-body .group-picture-column {
18-
float: none;
19-
margin-top: 10px;
20-
width: auto !important;
21-
img { margin: 0 auto; }
15+
.post-body .group-picture-column {
16+
float: left;
17+
margin-bottom: 10px;
2218
}
2319

2420
.page-archive {

0 commit comments

Comments
 (0)