fix(ui): api token input (#11226)

This commit is contained in:
🏔️ Peak
2026-08-12 22:20:16 +02:00
committed by GitHub
parent fe0150cea9
commit 4d1bbba396
@@ -111,7 +111,7 @@
description="This value will not be shown again after you leave this page.">
<div class="relative" x-data="{ copied: false }">
<input type="text" value="{{ session('token') }}" readonly
class="w-full pr-12! font-mono text-[12px]">
class="input w-full pr-12! font-mono text-[12px] text-black dark:text-fg">
<button type="button"
x-on:click="copied = true; navigator.clipboard.writeText(@js(session('token'))); setTimeout(() => copied = false, 1200)"
class="absolute top-1/2 right-2 flex size-7 -translate-y-1/2 items-center justify-center rounded-md text-neutral-400 transition-colors hover:bg-neutral-100 hover:text-black dark:hover:bg-white/[0.06] dark:hover:text-fg"