Skip to content

Commit

Permalink
fix: normalise sizes of flash notice
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHulme committed Nov 9, 2023
1 parent cfb71df commit 5834460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/application/_flash_messages.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div id="flashes">
<% flash.each do |name, message| %>
<div class="flash flash-<%= name %>">
<h3><%= name.titleize %></h3>
<ul><% Array(message).each do |m| %><li><%= m %> <% end %></li></ul>
<span class='font-weight-bold'><%= name.titleize %></span>
<ul class='mb-0'><% Array(message).each do |m| %><li><%= m %> <% end %></li></ul>
</div>
<% end %>
</div>

0 comments on commit 5834460

Please sign in to comment.