From 8b36fd0310a576f10f9dbc819dc121023ab8ecff Mon Sep 17 00:00:00 2001
From: "russell@unturf.com" Featured
from the featured_rail macro; cards
stand on their own. aria-label 'Featured products' -> neutral
'More from this shop' (accurate in both curated + random states).
- Removed the now-dead h2.serp-rail-title CSS rule + styleguide
heading.
- Test asserts the heading is gone (serp-rail-title / >Featured<
absent) while the rail itself still renders. 1139 passed.
CSS/templates cache-busted.
---
make_post_sell/static/css/common.css | 7 -------
make_post_sell/templates/_facet_nav.j2 | 6 ++++--
make_post_sell/templates/styleguide.j2 | 3 +--
make_post_sell/tests/test_functional.py | 4 +++-
4 files changed, 8 insertions(+), 12 deletions(-)
diff --git a/make_post_sell/static/css/common.css b/make_post_sell/static/css/common.css
index 5e6b3ea..23a25dd 100644
--- a/make_post_sell/static/css/common.css
+++ b/make_post_sell/static/css/common.css
@@ -1976,13 +1976,6 @@ aside.serp-rail {
gap: var(--space-3, 12px);
align-content: start;
}
-h2.serp-rail-title {
- margin: 0;
- font-size: var(--type-body-size, 1rem);
- font-weight: 600;
- color: var(--text-color, #333);
- letter-spacing: 0.02em;
-}
ul.serp-rail-list {
list-style: none;
margin: 0;
diff --git a/make_post_sell/templates/_facet_nav.j2 b/make_post_sell/templates/_facet_nav.j2
index 154fd22..c3187fd 100644
--- a/make_post_sell/templates/_facet_nav.j2
+++ b/make_post_sell/templates/_facet_nav.j2
@@ -145,8 +145,10 @@
inside .tag-detail-layout. #}
{% macro featured_rail(products, request) %}
{% if products %}
-