From a45902488c79d049f561d27615f78cc65fc5b7dc Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Wed, 30 Apr 2025 18:03:07 -0400 Subject: [PATCH] Fix filled icon logic --- app/components/filled_icon_component.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/filled_icon_component.html.erb b/app/components/filled_icon_component.html.erb index 40ac5bd5..49adba9e 100644 --- a/app/components/filled_icon_component.html.erb +++ b/app/components/filled_icon_component.html.erb @@ -1,4 +1,4 @@ -<%= tag.div style: variant == :surface ? nil :container_styles, +<%= tag.div style: transparent? ? container_styles : nil, class: container_classes do %> <% if icon %> <%= helpers.icon(icon, size: icon_size, color: "current") %>