fix menu alignment
This commit is contained in:
parent
6920333d6a
commit
e5d015cab2
1 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue