@@ -747,7 +747,7 @@ export default function SettingsPage() {
type="button"
onClick={() => setConfirming(false)}
disabled={rotating}
- className="flex-1 rounded-xl border border-[#E8E8E8] bg-white py-2.5 text-xs font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
+ className="flex-1 min-w-0 rounded-xl border border-[#E8E8E8] bg-white py-2.5 text-xs font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
>
Cancel
@@ -763,7 +763,7 @@ export default function SettingsPage() {
@@ -849,7 +849,7 @@ export default function SettingsPage() {
["background_color", "Background"],
] as const
).map(([field, label]) => (
-
+
-
+
@@ -932,12 +932,12 @@ export default function SettingsPage() {
)}
-
+
@@ -945,7 +945,7 @@ export default function SettingsPage() {
type="button"
onClick={() => setIsPreviewOpen(true)}
disabled={!apiKey}
- className="rounded-xl border border-[#E8E8E8] bg-white px-5 py-3 text-[10px] font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:text-[#0A0A0A] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
+ className="flex-1 min-w-0 rounded-xl border border-[#E8E8E8] bg-white px-5 py-3 text-[10px] font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:text-[#0A0A0A] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
>
Preview Receipt
@@ -958,9 +958,9 @@ export default function SettingsPage() {
@@ -996,11 +996,11 @@ export default function SettingsPage() {
-
+
Webhook Endpoint
@@ -1010,7 +1010,7 @@ export default function SettingsPage() {
{webhookUrl && (
-
+
{webhookUrlError}
)}
-
+
@@ -1060,7 +1060,7 @@ export default function SettingsPage() {
type="button"
onClick={testWebhook}
disabled={testingWebhook || !webhookUrl}
- className="flex-1 rounded-xl border border-[#E8E8E8] bg-white py-2.5 text-[10px] font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:text-[#0A0A0A] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
+ className="flex-1 min-w-0 rounded-xl border border-[#E8E8E8] bg-white py-2.5 text-[10px] font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:text-[#0A0A0A] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
>
{testingWebhook ? "Testing…" : "Send Test"}
@@ -1074,12 +1074,12 @@ export default function SettingsPage() {
Host this token at{" "}
-
+
{webhookVerification.verification_file_url}
-
-
+
+
{webhookVerification.verification_token ?? "—"}
{webhookVerification.verification_token && (
@@ -1158,12 +1158,12 @@ export default function SettingsPage() {
The current secret will stop working immediately.
-
+
@@ -1171,7 +1171,7 @@ export default function SettingsPage() {
type="button"
onClick={() => setConfirmRegenSecret(false)}
disabled={regeneratingSecret}
- className="flex-1 rounded-xl border border-[#E8E8E8] bg-white py-2.5 text-xs font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
+ className="flex-1 min-w-0 rounded-xl border border-[#E8E8E8] bg-white py-2.5 text-xs font-bold uppercase tracking-widest text-[#6B6B6B] hover:bg-[#F5F5F5] hover:shadow-sm hover:border-[#D0D0D0] disabled:opacity-50 transition-all duration-200"
>
Cancel
@@ -1187,9 +1187,9 @@ export default function SettingsPage() {