From bbe2ce9cba332889904554c68ee73cb98457fc78 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Wed, 23 Sep 2020 15:10:42 +1000 Subject: [PATCH] Add "Price breakdown" heading to pop-up The translation key was already present even though it was unused. --- app/assets/javascripts/templates/price_breakdown.html.haml | 1 + app/assets/stylesheets/darkswarm/_shop-popovers.scss | 7 +++++-- config/locales/en.yml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/templates/price_breakdown.html.haml b/app/assets/javascripts/templates/price_breakdown.html.haml index 1eaabf618a..26d3ad70fd 100644 --- a/app/assets/javascripts/templates/price_breakdown.html.haml +++ b/app/assets/javascripts/templates/price_breakdown.html.haml @@ -2,6 +2,7 @@ %span.joyride-nub.top .background{ng: {click: "tt_isOpen = false"}} .joyride-content-wrapper + %h6= t("price_breakdown") %ul %li .right {{ ::variant.price | localizeCurrency }} diff --git a/app/assets/stylesheets/darkswarm/_shop-popovers.scss b/app/assets/stylesheets/darkswarm/_shop-popovers.scss index 9d3e0df16b..140f103027 100644 --- a/app/assets/stylesheets/darkswarm/_shop-popovers.scss +++ b/app/assets/stylesheets/darkswarm/_shop-popovers.scss @@ -19,8 +19,11 @@ color: white; } - h1, h2, h3, h4, h5, h6 { - color: #1f1f1f; + h6 { + font-size: 0.937rem; + border-bottom: .1em solid $grey-700; + padding: .5em 0.25rem; + margin-bottom: 2px; } .joyride-nub.top { diff --git a/config/locales/en.yml b/config/locales/en.yml index 47324d0051..4755315143 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2053,7 +2053,7 @@ See the %{link} to find out more about %{sitename}'s features and to start using shop_for_products_html: "Shop for %{enterprise} products at:" change_shop: "Change shop to:" shop_at: "Shop now at:" - price_breakdown: "Full price breakdown" + price_breakdown: "Price breakdown" admin_fee: "Admin fee" sales_fee: "Sales fee" packing_fee: "Packing fee"