diff --git a/admin-spa/src/index.css b/admin-spa/src/index.css index e3c6e76..d457ffa 100644 --- a/admin-spa/src/index.css +++ b/admin-spa/src/index.css @@ -66,6 +66,13 @@ * { @apply border-border; } body { @apply bg-background text-foreground; } h1, h2, h3, h4, h5, h6 { @apply text-foreground; } + + /* Override WordPress common.css focus/active styles */ + a:focus, + a:active { + outline: none !important; + box-shadow: none !important; + } } /* Command palette input: remove native borders/shadows to match shadcn */ diff --git a/admin-spa/src/routes/Login.tsx b/admin-spa/src/routes/Login.tsx index dbf35bd..ea30f61 100644 --- a/admin-spa/src/routes/Login.tsx +++ b/admin-spa/src/routes/Login.tsx @@ -19,9 +19,9 @@ export function Login() { }); const navigate = useNavigate(); - // Fetch branding + // Fetch branding (public endpoint - no auth required) useEffect(() => { - fetch((window.WNW_CONFIG?.restUrl || '') + '/store/settings') + fetch((window.WNW_CONFIG?.restUrl || '') + '/store/branding') .then(res => res.json()) .then(data => { setBranding({ diff --git a/admin-spa/src/routes/Settings/Payments.tsx b/admin-spa/src/routes/Settings/Payments.tsx index afc0e90..ea78b13 100644 --- a/admin-spa/src/routes/Settings/Payments.tsx +++ b/admin-spa/src/routes/Settings/Payments.tsx @@ -302,11 +302,11 @@ export default function PaymentsPage() {