Skip to content

Commit

Permalink
fix border for last teaser
Browse files Browse the repository at this point in the history
  • Loading branch information
danalvrz committed Jun 23, 2023
1 parent 795e02e commit ff06f78
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/theme/blocks/_teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,17 @@
@include body-text();
}
}

&.is--last--of--block-type {
.grid-teaser-item.default {
border-bottom: none;
}
&.next--is--__button {
.grid-teaser-item.default {
border-bottom: 1px solid $black;
}
}
}
}


0 comments on commit ff06f78

Please sign in to comment.