mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user