Skip to content

Commit

Permalink
fix: server list tap on mobile
Browse files Browse the repository at this point in the history
Signed-off-by: Colton Wolkins (Laptop) <[email protected]>
  • Loading branch information
TheTechmage committed Apr 2, 2024
1 parent 72eda94 commit cebcd70
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/wyvern/server-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ function ServerLink({ agent, id, children, name, callback, styles }) {
className="flex h-12 cursor-pointer items-center truncate rounded-[5px] px-1 py-4 text-[0.875rem] text-gray-600 outline-none transition duration-300 ease-linear hover:bg-slate-50 hover:text-inherit hover:outline-none focus:bg-slate-50 focus:text-inherit focus:outline-none active:bg-slate-50 active:text-inherit active:outline-none data-[te-sidenav-state-active]:text-inherit data-[te-sidenav-state-focus]:outline-none motion-reduce:transition-none dark:text-gray-300 dark:hover:bg-white/10 dark:focus:bg-white/10 dark:active:bg-white/10"
alt={name}
onClick={call_callback}
onTouchEnd={call_callback}
//href={id ? ("/wyvern/server/" + id) : "#"}
href={id ? ("?id=" + id) : ""}
>
Expand Down

0 comments on commit cebcd70

Please sign in to comment.