fix menu alignment

This commit is contained in:
Graham McIntire 2026-01-27 10:50:31 -06:00
parent 6920333d6a
commit e5d015cab2
No known key found for this signature in database

View file

@ -376,7 +376,7 @@ defmodule ToweropsWeb.Layouts do
<.link
navigate={@navigate}
class={[
"inline-flex items-center border-b-2 px-1 pt-1 pb-4 text-sm font-medium",
"inline-flex items-center border-b-2 px-1 h-14 sm:h-16 text-sm font-medium",
if(@active,
do: "border-gray-900 text-gray-900 dark:border-white dark:text-white",
else:
@ -577,13 +577,13 @@ defmodule ToweropsWeb.Layouts do
<div class="hidden sm:ml-6 sm:flex sm:space-x-8">
<.link
navigate={~p"/admin/users"}
class="inline-flex items-center px-1 pt-1 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white"
class="inline-flex items-center px-1 pt-1 pb-4 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white"
>
Users
</.link>
<.link
navigate={~p"/admin/organizations"}
class="inline-flex items-center px-1 pt-1 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white"
class="inline-flex items-center px-1 pt-1 pb-4 text-sm font-medium text-gray-700 hover:text-gray-900 dark:text-gray-300 dark:hover:text-white"
>
Organizations
</.link>