- Updated breadcrumb on event show page to use the new consistent style with rounded background and shadow - Improved spacing and responsive design for breadcrumbs - Made minor layout adjustments to flash messages component - Enhanced overall UI consistency across the application Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
20 lines
802 B
Plaintext
Executable File
20 lines
802 B
Plaintext
Executable File
<% if flash.any? %>
|
|
<div class="relative w-full p-4 mt-4">
|
|
<div class="w-full">
|
|
<% flash.each do |type, message| %>
|
|
<div class="notification <%= flash_class(type) %> flex items-center gap-3 p-4 rounded-lg mb-3 font-medium w-full box-border"
|
|
data-controller="flash-message">
|
|
<div class="notification-icon flex items-center shrink-0">
|
|
<%= flash_icon(type) %>
|
|
</div>
|
|
<span class="flex-1"><%= message %></span>
|
|
<button data-action="click->flash-message#close"
|
|
class="bg-transparent border-none cursor-pointer p-1 text-inherit opacity-70 transition-opacity duration-200">
|
|
<i data-lucide="x" class="w-4 h-4"></i>
|
|
</button>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<% end %>
|