mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-19 00:23:30 +00:00
fix(ux): make environment table rows fully clickable
This commit is contained in:
@@ -205,14 +205,16 @@
|
||||
|
||||
<template x-for="environment in paginatedEnvironments" :key="environment.uuid">
|
||||
<div
|
||||
class="environments-table-grid group min-h-14 items-center border-b border-neutral-200 px-4 py-2.5 transition-colors last:border-b-0 hover:bg-neutral-50 dark:border-white/[0.07] dark:hover:bg-white/[0.025]">
|
||||
class="environments-table-grid group relative min-h-14 items-center border-b border-neutral-200 px-4 py-2.5 transition-colors last:border-b-0 hover:bg-neutral-50 dark:border-white/[0.07] dark:hover:bg-white/[0.025]">
|
||||
<a :href="environment.href" {{ wireNavigate() }} class="absolute inset-0"
|
||||
:aria-label="`Open ${environment.name}`"></a>
|
||||
<div class="flex min-w-0 items-center gap-3">
|
||||
<div
|
||||
class="flex size-8 shrink-0 items-center justify-center rounded-lg border border-neutral-200 bg-neutral-50 text-neutral-500 dark:border-white/[0.08] dark:bg-white/[0.035] dark:text-fg-dim">
|
||||
<x-reicon name="layers" class="size-4" />
|
||||
</div>
|
||||
<a :href="environment.href" {{ wireNavigate() }}
|
||||
class="truncate text-[13px] font-semibold text-black hover:underline dark:text-fg"
|
||||
class="relative truncate text-[13px] font-semibold text-black hover:underline dark:text-fg"
|
||||
x-text="environment.name"></a>
|
||||
</div>
|
||||
|
||||
@@ -221,7 +223,7 @@
|
||||
<p class="environment-description truncate text-[12px] text-neutral-500 dark:text-fg-dim"
|
||||
x-text="environment.description || '-'"></p>
|
||||
|
||||
<div class="flex items-center justify-end gap-0.5">
|
||||
<div class="relative flex items-center justify-end gap-0.5">
|
||||
<a x-show="environment.addResourceHref" :href="environment.addResourceHref"
|
||||
{{ wireNavigate() }}
|
||||
class="flex size-7 items-center justify-center rounded-md text-neutral-400 transition-colors hover:bg-neutral-100 hover:text-black dark:text-fg-faint dark:hover:bg-white/[0.06] dark:hover:text-fg"
|
||||
|
||||
Reference in New Issue
Block a user