update daisyui, fix UI
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<label tabindex="0" class="cursor-pointer bg-base-content text-purple-300 rounded-full w-8 p-2">
|
||||
<span class="text-sm align-text-top"><%= current_user.initials %></span>
|
||||
</label>
|
||||
<ul tabindex="0" class="dropdown-content p-2 mt-2 shadow menu bg-base-100 rounded-box whitespace-nowrap">
|
||||
<ul tabindex="0" class="dropdown-content p-2 mt-2 shadow menu text-base bg-base-100 rounded-box whitespace-nowrap">
|
||||
<li>
|
||||
<%= link_to 'Profile', settings_profile_index_path, class: 'text-right' %>
|
||||
</li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<menu-active class="block w-full md:w-52">
|
||||
<div class="-ml-3.5">
|
||||
<ul class="menu menu-compact px-2 py-0 space-y-1">
|
||||
<li class="menu-title !pt-0"><span>Settings</span></li>
|
||||
<div class="-ml-6">
|
||||
<ul class="menu">
|
||||
<li class="menu-title py-0"><span>Settings</span></li>
|
||||
<li></li>
|
||||
<li>
|
||||
<%= link_to 'Profile', settings_profile_index_path, class: "text-base hover:bg-base-300" %>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<turbo-frame id="modal">
|
||||
<turbo-modal class="modal modal-open items-start">
|
||||
<turbo-modal class="modal modal-open items-start !animate-none">
|
||||
<div class="absolute top-0 bottom-0 right-0 left-0" data-action="click:turbo-modal#close"></div>
|
||||
<div class="modal-box pt-4 pb-6 px-6 mt-20">
|
||||
<% if local_assigns[:title] %>
|
||||
@@ -7,7 +7,7 @@
|
||||
<span>
|
||||
<%= local_assigns[:title] %>
|
||||
</span>
|
||||
<a href="#" class="w-8 h-8 flex items-center justify-center text-xl rounded-lg text-center hover:bg-base-300" data-action="click:turbo-modal#close">×</a>
|
||||
<a href="#" class="text-xl" data-action="click:turbo-modal#close">×</a>
|
||||
</div>
|
||||
<% end %>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user