Skip to content

Commit

Permalink
Remove extra space between flash icon and message (#1844)
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron authored Feb 23, 2023
1 parent 462bfb6 commit 15869d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/eighty-cars-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@primer/view-components': patch
---

Remove extra space between flash icon and message
3 changes: 1 addition & 2 deletions app/components/primer/beta/flash.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<%= render Primer::BaseComponent.new(**@system_arguments) do %>
<%= primer_octicon @icon if @icon %>
<%= content %>
<%= primer_octicon @icon if @icon %><%= content %>
<% if @dismissible %>
<button class="flash-close js-flash-close" type="button" aria-label="Close">
<%= primer_octicon "x" %>
Expand Down

0 comments on commit 15869d4

Please sign in to comment.