feat(users/UsersOverview): improve ui by adding borders to badges

This commit is contained in:
Philipp Dormann 2024-11-21 09:57:50 +01:00
parent 9abf74d6d2
commit cb82200481
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -105,12 +105,12 @@
<td class="px-6 py-4 whitespace-nowrap">
{#if u.enabled}
<span
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full border bg-green-100 text-green-800"
>{$_("active")}</span
>
{:else}
<span
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full border bg-red-100 text-red-800"
>{$_("inactive")}</span
>
{/if}
@ -119,7 +119,7 @@
{#each u.groups as g}
<a
href="../groups/{g.id}"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-gray-100 text-gray-800"
class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full border bg-gray-100 text-gray-800"
>{g.name}</a
>
{/each}