Skip to content

Commit 1220664

Browse files
committed
More consistent styling of promoted view if item count is odd
1 parent b926063 commit 1220664

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

css/base.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,6 @@ h6 {
475475
.view-promoted .view-content {
476476
display: flex;
477477
flex-wrap: wrap;
478-
justify-content: center;
479478
}
480479
.view-mode-teaser > h2 {
481480
margin-top: 0;
@@ -486,7 +485,7 @@ h6 {
486485
width: calc(50% - 81px);
487486
}
488487
.view-promoted .view-content > div:last-child,
489-
.view-promoted .view-content > div:nth-last-child(2) {
488+
.view-promoted .view-content > div:nth-last-child(2):nth-child(odd) {
490489
border-bottom: none;
491490
}
492491
.node {

0 commit comments

Comments
 (0)