Skip to content

Commit

Permalink
Fix border for last Teaser (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
danalvrz authored Jun 28, 2023
1 parent 39d40dd commit 64025a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/117.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix last Teaser bottom border @danalvrz
11 changes: 11 additions & 0 deletions src/theme/blocks/_teaser.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,15 @@
@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 64025a5

Please sign in to comment.