Skip to content

Commit

Permalink
fix: prevent home page overflow issues (resolves #246)
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Feb 14, 2020
1 parent 67a3482 commit cbe22ea
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions src/assets/styles/layouts/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,31 +69,6 @@
transform: translateX(-50%);
width: 100vw;
}

@include breakpoint-down(xs) {
.card-wrapper {
overflow-x: scroll;
width: calc(100% + #{$gutter});
}

.cards {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
width: calc((100% - #{rem(30)}) * 4 + #{rem(25)});

.card__wrapper {
width: calc(100vw - #{rem(85)});
}

.card__wrapper + .card__wrapper {
margin-left: rem(25);
margin-top: 0;
}
}
}

}

@include breakpoint-up(sm) {
Expand Down

0 comments on commit cbe22ea

Please sign in to comment.