feat(OrgDetail): improve selfservice link copy

This commit is contained in:
Philipp Dormann 2025-03-29 01:42:45 +01:00
parent fbe38eede9
commit f547c0cc81
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -263,7 +263,7 @@
<button on:click={copy} class="inline-flex w-full">
<p
name="token"
class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm rounded-l-md sm:text-sm border-gray-300 border bg-gray-50 text-neutral-800 p-2"
class="focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm rounded-l-md sm:text-sm border-gray-300 border bg-gray-50 text-neutral-800 p-2 break-all font-mono text-left"
>
{#if editable.registrationKey}
{registrationLink}
@ -272,7 +272,7 @@
{/if}
</p>
<div
class="bg-gray-200 border-gray-300 border-t border-b border-r text-black rounded-r-md sm:text-sm p-2 mt-1 cursor-pointer"
class="bg-gray-200 border-gray-300 border-t border-b border-r text-black rounded-r-md sm:text-sm p-2 cursor-pointer flex items-center justify-center"
>
<svg
xmlns="http://www.w3.org/2000/svg"