Skip to content

Commit

Permalink
Only apply cart scrolling to non-mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
RohanM committed Jan 15, 2016
1 parent eeb31f6 commit 07d691f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/darkswarm/shopping-cart.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
right: 10px
top: 55px
width: 480px
overflow-y: auto
max-height: calc(95vh - 55px)

@media screen and (min-width: 641px)
overflow-y: auto
max-height: calc(95vh - 55px)

@media screen and (max-width: 640px)
width: 96%
Expand Down

0 comments on commit 07d691f

Please sign in to comment.