From 46146c83a8dcb0c72e47486eb06c4f65bcd59307 Mon Sep 17 00:00:00 2001 From: summerscope Date: Thu, 31 Jul 2014 11:29:02 +1000 Subject: [PATCH] Make the link for product modal just go around the text and not full block --- .../stylesheets/darkswarm/_shop-product-rows.css.sass | 6 ++++-- app/views/shop/products/_summary.html.haml | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/darkswarm/_shop-product-rows.css.sass b/app/assets/stylesheets/darkswarm/_shop-product-rows.css.sass index 2dbbf46a45..fbe5949e74 100644 --- a/app/assets/stylesheets/darkswarm/_shop-product-rows.css.sass +++ b/app/assets/stylesheets/darkswarm/_shop-product-rows.css.sass @@ -100,8 +100,10 @@ h3 font-size: 1.5rem margin: 0 - a h3 - color: black + h3 a + color: #222 + &:hover, &:focus, &:active + color: black diff --git a/app/views/shop/products/_summary.html.haml b/app/views/shop/products/_summary.html.haml index 77f43702cc..25c71f276a 100644 --- a/app/views/shop/products/_summary.html.haml +++ b/app/views/shop/products/_summary.html.haml @@ -4,8 +4,9 @@ .row.summary .small-9.medium-10.large-11.columns.summary-header - %a{"ng-click" => "triggerProductModal()"} - %h3 {{ product.name }} + %h3 + %a{"ng-click" => "triggerProductModal()"} + {{ product.name }} %em from %span