From a7a29b4780947e18c2821787e90e616d3c7d065b Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Fri, 2 May 2025 11:42:09 -0400 Subject: [PATCH] Prevent ai icon shrinking --- app/views/chats/_ai_avatar.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/chats/_ai_avatar.html.erb b/app/views/chats/_ai_avatar.html.erb index 0df752e2..ec5b47dd 100644 --- a/app/views/chats/_ai_avatar.html.erb +++ b/app/views/chats/_ai_avatar.html.erb @@ -1,6 +1,6 @@ <%# locals: (theme: "light") %> -
+
<%# Never use svg as an image tag, it appears blurry in Safari %> <%= inline_svg_tag "ai-dark.svg", alt: "AI", class: "w-full h-full hidden theme-dark:block" %> <%= inline_svg_tag "ai.svg", alt: "AI", class: "w-full h-full theme-dark:hidden" %>