migrate to daisy UI v3.0.3
This commit is contained in:
@@ -6,15 +6,15 @@
|
||||
<% if signed_in? %>
|
||||
<div class="space-x-6">
|
||||
<%= link_to 'Settings', settings_storage_index_path, class: 'font-medium text-lg' %>
|
||||
<div class="dropdown dropdown-end">
|
||||
<div class="dropdown dropdown-end z-50">
|
||||
<label tabindex="0" class="cursor-pointer bg-neutral-focus text-neutral-content 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">
|
||||
<li class>
|
||||
<li>
|
||||
<%= link_to 'Profile', settings_profile_index_path, class: 'text-right' %>
|
||||
</li>
|
||||
<li class>
|
||||
<li>
|
||||
<%= link_to 'Sign out', destroy_user_session_path, data: { turbo_method: :delete } %>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user