Skip to content

Commit

Permalink
Fix Group Pictures layout (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
1v9 authored and stevenjoezhang committed Jul 3, 2019
1 parent 1f625a0 commit ae8501b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions source/css/_common/components/tags/group-pictures.styl
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,18 @@
box-sizing: border-box;
padding: 0 3px;
border: none;
margin: 0 auto;
}
}

.post .group-picture-row {
.post-body .group-picture-row {
overflow: hidden;
margin-top: 6px;
&:first-child { margin-top: 0; }
margin-bottom: 6px;
}

.post .group-picture-column { float: left; }

.page-post-detail .post-body .group-picture-column {
float: none;
margin-top: 10px;
width: auto !important;
img { margin: 0 auto; }
.post-body .group-picture-column {
float: left;
margin-bottom: 10px;
}

.page-archive {
Expand Down

0 comments on commit ae8501b

Please sign in to comment.