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(ux): show api token description inline

peaklabs-dev2fc73bc357ab
diff --git a/resources/views/livewire/security/api-tokens.blade.php b/resources/views/livewire/security/api-tokens.blade.php
index 38db6aa3a6..acc36f5269 100644
--- a/resources/views/livewire/security/api-tokens.blade.php
+++ b/resources/views/livewire/security/api-tokens.blade.php
@@ -107,9 +107,13 @@
@endcan
@if (session()->has('token'))
- <x-application.settings-section title="Copy your token"
- description="This value will not be shown again after you leave this page.">
- <x-forms.copy-button :text="session('token')" />
+ <x-application.settings-section title="Copy your token">
+ <div class="flex flex-col gap-3">
+ <p class="text-sm text-neutral-500 dark:text-fg-dim">
+ This value will not be shown again after you leave this page.
+ </p>
+ <x-forms.copy-button :text="session('token')" />
+ </div>
</x-application.settings-section>
@endif