From a07eabca55e16b9982a7dc7ff0b6d1e3de1455d6 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Wed, 13 Jan 2016 16:00:43 +1100 Subject: [PATCH] Fit cart to screen and allow scrolling so we can always access all of it --- app/assets/stylesheets/darkswarm/shopping-cart.css.sass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/darkswarm/shopping-cart.css.sass b/app/assets/stylesheets/darkswarm/shopping-cart.css.sass index 74cec02ce0..9bdedb806c 100644 --- a/app/assets/stylesheets/darkswarm/shopping-cart.css.sass +++ b/app/assets/stylesheets/darkswarm/shopping-cart.css.sass @@ -13,6 +13,9 @@ right: 10px top: 55px width: 480px + overflow-y: auto + max-height: calc(95vh - 55px) + @media screen and (max-width: 640px) width: 96% @@ -48,7 +51,7 @@ .cart-item-delete a.delete font-size: 1.125em - + .item-thumb-image display: none @media screen and (min-width: 640px)