Skip to content

Commit

Permalink
Fixup linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Jan 30, 2024
1 parent 01d8d65 commit 799c5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/tailwind/icon.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</svg>
<% when :edit %>
<svg width="19" height="16" viewBox="0 0 19 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M5.707 14.3136L15 6.6215L10.586 2.96789L1.293 10.66C1.16506 10.766 1.07418 10.8988 1.03 11.0441L0 15.3839L5.242 14.5313C5.418 14.4949 5.579 14.4196 5.707 14.3136ZM18 4.13831C18.3749 3.82786 18.5856 3.40686 18.5856 2.96789C18.5856 2.52892 18.3749 2.10793 18 1.79748L16.414 0.484697C16.0389 0.174346 15.5303 0 15 0C14.4697 0 13.9611 0.174346 13.586 0.484697L12 1.79748L16.414 5.45109L18 4.13831Z" "/>
<path d="M5.707 14.3136L15 6.6215L10.586 2.96789L1.293 10.66C1.16506 10.766 1.07418 10.8988 1.03 11.0441L0 15.3839L5.242 14.5313C5.418 14.4949 5.579 14.4196 5.707 14.3136ZM18 4.13831C18.3749 3.82786 18.5856 3.40686 18.5856 2.96789C18.5856 2.52892 18.3749 2.10793 18 1.79748L16.414 0.484697C16.0389 0.174346 15.5303 0 15 0C14.4697 0 13.9611 0.174346 13.586 0.484697L12 1.79748L16.414 5.45109L18 4.13831Z" />
</svg>
<% when :external %>
<svg width="20" height="20" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -16,7 +16,7 @@
<% when :share %>
<%# TODO: Share icon is not visually consistent with external link icon %>
<svg width="22" height="27" viewBox="0 0 22 27" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
<path d="M2 13.5V22.7C2 23.31 2.23705 23.895 2.65901 24.3263C3.08097 24.7577 3.65326 25 4.25 25H17.75C18.3467 25 18.919 24.7577 19.341 24.3263C19.7629 23.895 20 23.31 20 22.7V13.5M15.5 6.6L11 2M11 2L6.5 6.6M11 2V16.95" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M2 13.5V22.7C2 23.31 2.23705 23.895 2.65901 24.3263C3.08097 24.7577 3.65326 25 4.25 25H17.75C18.3467 25 18.919 24.7577 19.341 24.3263C19.7629 23.895 20 23.31 20 22.7V13.5M15.5 6.6L11 2M11 2L6.5 6.6M11 2V16.95" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<% else %>
<% raise "Unexpected name #{@name}" %>
Expand Down

0 comments on commit 799c5f0

Please sign in to comment.