app/views/application/_flash_toasts.html.erb in plutonium-0.12.14 vs app/views/application/_flash_toasts.html.erb in plutonium-0.13.0
- old
+ new
@@ -19,10 +19,10 @@
%>
<div data-controller="resource-dismiss"
data-resource-dismiss-target="target"
data-resource-dismiss-after-value="6000"
- class="fixed z-50 top-16 right-5 flex items-center w-full max-w-md p-4 text-gray-500 bg-<%= color %>-50 rounded-lg shadow dark:text-<%= color %>-400 dark:bg-gray-800"
+ class="fixed z-50 top-16 inset-x-0 mx-auto flex items-center w-full max-w-md p-4 text-gray-500 bg-<%= color %>-50 rounded-lg shadow dark:text-<%= color %>-400 dark:bg-gray-800 dark:border dark:border-gray-700 dark:shadow-none"
role="alert">
<div class="inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-<%= color %>-500 bg-<%= color %>-100 rounded-lg dark:bg-<%= color %>-800 dark:text-<%= color %>-200">
<% case type.to_sym %>
<% when :success %>