optimize dashboard on mobile

This commit is contained in:
Alex Turchyn
2023-07-02 00:14:26 +03:00
parent ca232e40ac
commit be196b2bcb
11 changed files with 68 additions and 54 deletions
+2 -2
View File
@@ -6,11 +6,11 @@
<% if signed_in? %>
<div class="space-x-6">
<%= link_to 'Settings', settings_profile_index_path, class: 'font-medium text-lg' %>
<div class="dropdown dropdown-end z-50">
<div class="dropdown dropdown-end">
<label tabindex="0" class="cursor-pointer bg-base-content text-purple-300 rounded-full p-2 w-9 justify-center flex">
<span class="text-sm align-text-top"><%= current_user.initials %></span>
</label>
<ul tabindex="0" class="dropdown-content p-2 mt-2 shadow menu text-base bg-base-100 rounded-box whitespace-nowrap">
<ul tabindex="0" class="z-10 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>