From 9d7cea2055bde131437cffa0f3ec7c656c406143 Mon Sep 17 00:00:00 2001 From: Stephann Vasconcelos <3025661+stephannv@users.noreply.github.com> Date: Sun, 17 Jul 2022 14:50:13 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Trucante=20navbar=20title=20(#17?= =?UTF-8?q?6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/layout/navbar_component.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/layout/navbar_component.html.erb b/app/components/layout/navbar_component.html.erb index 276cd1a..5d861a0 100644 --- a/app/components/layout/navbar_component.html.erb +++ b/app/components/layout/navbar_component.html.erb @@ -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> @@ -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 %>