Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
🐞 Trucante navbar title (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephannv authored Jul 17, 2022
1 parent d0c9c81 commit 9d7cea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/layout/navbar_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
18rem == w-72 == Sidebar width
%>
<div class="navbar lg:w-[calc(100%-18rem)] bg-base-200">
<div class="flex-1">
<div class="w-full flex truncate">
<label for="app-drawer" class="btn btn-ghost btn-circle drawer-button lg:hidden">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16" /></svg>
</label>
Expand All @@ -12,7 +12,7 @@
</span>
</div>

<div class="flex-none mr-2">
<div class="w-auto mr-2">
<% if current_user.present? %>
<%= render Layout::UserMenuComponent.new(current_user: current_user) %>
<% else %>
Expand Down

0 comments on commit 9d7cea2

Please sign in to comment.