style storage settings

This commit is contained in:
Alex Turchyn
2023-05-30 21:03:47 +03:00
parent e45bad97f5
commit faf6f69e3e
8 changed files with 115 additions and 88 deletions
+8 -6
View File
@@ -15,12 +15,14 @@
<turbo-frame id="modal"></turbo-frame>
<%= render 'shared/navbar' %>
<% if flash.present? %>
<div id="flash" class="max-w-xl mx-auto px-2">
<div class="alert shadow-lg">
<div class="flex w-full justify-between">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" class="stroke-info flex-shrink-0 w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
<span class="w-full"><%= flash[:notice] || flash[:alert] %></span>
<a href="#" onclick="[event.preventDefault(), window.flash.remove()]">&times;</a>
<div id="flash" class="absolute top-0 w-full">
<div class="max-w-xl mx-auto mt-1.5">
<div class="alert shadow-lg py-3">
<div class="flex w-full justify-between">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" class="stroke-info flex-shrink-0 w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
<span class="w-full"><%= flash[:notice] || flash[:alert] %></span>
<a href="#" onclick="[event.preventDefault(), window.flash.remove()]">&times;</a>
</div>
</div>
</div>
</div>