Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/amo/pages/Addon/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
@include page-padding;
}

.Addon .Card {
margin-bottom: $padding-page;
}

.Addon-icon-wrapper {
height: 40px;
overflow: hidden;
Expand Down Expand Up @@ -231,3 +227,9 @@
.ContributeCard {
margin: 32px auto;
}

.AddonRecommendations {
// This is the last card in the page, and it doesn't need a `margin-bottom`,
// which `.CardList` adds by default.
margin-bottom: 0;
}
5 changes: 5 additions & 0 deletions src/amo/pages/LandingPage/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

.LandingPage {
@include page-padding;

& > .LandingAddonsCard:last-child {
// The last `.CardList` doesn't need a `margin-bottom`.
margin-bottom: 0;
}
}

.LandingPage-header {
Expand Down