From ed902e7489e16f552a35d19ca4da4f557f143385 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 23 Sep 2020 15:51:33 +1000 Subject: [PATCH] Reduce price breakdown size It doesn't need as much space. This brings related text closer together and hides less of the page, e.g. the add-to-cart button. --- app/assets/stylesheets/darkswarm/_shop-popovers.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/stylesheets/darkswarm/_shop-popovers.scss b/app/assets/stylesheets/darkswarm/_shop-popovers.scss index 1e542bb568..d91f870330 100644 --- a/app/assets/stylesheets/darkswarm/_shop-popovers.scss +++ b/app/assets/stylesheets/darkswarm/_shop-popovers.scss @@ -4,6 +4,8 @@ // Pop over // Foundation overrides .joyride-tip-guide.price_breakdown { + width: 16rem; + max-width: 65%; // JS needs to be tweaked to adjust for left alignment - this is dynamic can't rewrite in CSS margin-left: -7.4rem; margin-top: 0.1rem;