Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

Andras Bacsaib39a8e647ca4
diff --git a/resources/views/livewire/project/resource/index.blade.php b/resources/views/livewire/project/resource/index.blade.php
index 0a08cc0fa4..f2a874527e 100644
--- a/resources/views/livewire/project/resource/index.blade.php
+++ b/resources/views/livewire/project/resource/index.blade.php
@@ -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"