diff --git a/app/components/icon_component.html.erb b/app/components/icon_component.html.erb index c6fee6480..e5f263e18 100644 --- a/app/components/icon_component.html.erb +++ b/app/components/icon_component.html.erb @@ -1,21 +1,24 @@ <%# Using inlined svg icons so that we can set their colour based on the current text colour %> <% case @name %> <% when :trash %> - + <%# TODO: Move size out of here %> + <% when :edit %> - + <%# TODO: Move size out of here %> + <% when :external %> - + <%# TODO: Move size out of here %> + <% when :share %> - <%# TODO: Share icon is not visually consistent with external link icon %> - + <%# TODO: Move size out of here %> + <% when :tick %> diff --git a/app/components/share_button_component.html.erb b/app/components/share_button_component.html.erb index ab284df7d..9fd73f0a2 100644 --- a/app/components/share_button_component.html.erb +++ b/app/components/share_button_component.html.erb @@ -26,10 +26,10 @@ setTimeout(() => { copied = false }, 2000); }"> <%# Giving this a constant height to avoid any content shifts when button is clicked %> -
+
<%= render IconComponent.new(name: :share) %>
-
<%= render IconComponent.new(name: :tick) %>
+
<%= render IconComponent.new(name: :tick) %>
<%= content %>