fix(ui): center resource table names without a description

Hide the empty description line in the environment resources table so
it takes no space. Names without a description now sit level with the
other cells, and on narrow screens the domain follows the name directly.

Fixes #12127
This commit is contained in:
Andras Bacsai
2026-10-09 08:29:51 +02:00
parent 6a0a4e889b
commit b39a8e647c
@@ -211,9 +211,9 @@
class="relative block truncate text-[13px] font-semibold text-black hover:underline dark:text-fg"
x-text="item.name"></a>
</div>
<p class="min-h-4 truncate text-[11px] text-neutral-500 dark:text-fg-faint">
<span x-show="item.description" x-text="item.description"></span>
</p>
<p class="truncate text-[11px] text-neutral-500 dark:text-fg-faint"
x-show="item.description?.trim()"
x-text="item.description"></p>
<div class="mobile-resource-domain min-w-0">
<template x-if="item.fqdn">
<a :href="firstDomain(item.fqdn)" target="_blank" rel="noopener noreferrer"