Skip to content

Commit f4a07b8

Browse files
authored
Merge pull request creativecommons#430 from creativecommons/update_blog
remove divider from last row of blog page.
2 parents 4616a8f + 5451b6d commit f4a07b8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webpack/sass/main.scss

+6
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ code {
206206
.column {
207207
border-bottom: 0.1875rem solid $color-light-gray;
208208
}
209+
/* last row, irrespective of the number of elements */
210+
.column:nth-last-child(-n + 3):nth-child(3n + 1), /* first element of the last row */
211+
.column:nth-last-child(-n + 3):nth-child(3n + 1) ~ .column /* all its following elements */
212+
{
213+
border-bottom: none;
214+
}
209215

210216
.blog-entry {
211217
@extend .padding-vertical-larger;

0 commit comments

Comments
 (0)