fix CSS nesting warnings and test type warnings

Replace BEM-style &--modifier nesting (unsupported in native CSS) with
&.class-modifier in shop/components.css and page_renderer.ex. Fix
Elixir 1.19 type warnings comparing lists with != [].

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-03-02 01:02:24 +00:00
parent fadcf57286
commit 96341613f4
5 changed files with 12 additions and 12 deletions

View File

@@ -76,7 +76,7 @@ defmodule Berrypod.Theme.PreviewDataTest do
cart_items = PreviewData.cart_items()
assert is_list(cart_items)
assert cart_items != []
assert length(cart_items) > 0
end
test "each cart item has required fields" do
@@ -116,7 +116,7 @@ defmodule Berrypod.Theme.PreviewDataTest do
testimonials = PreviewData.testimonials()
assert is_list(testimonials)
assert testimonials != []
assert length(testimonials) > 0
end
test "each testimonial has required fields" do