From 45dc748a84079064715c8aa79be04dbea4a685b8 Mon Sep 17 00:00:00 2001 From: Pascal Linxweiler Date: Wed, 29 Jul 2026 16:01:32 +0200 Subject: [PATCH] docs: match the login button to the theme's button classes Use the same classes the login page puts on its own buttons so the SSO link picks up the theme styling, and note that copying a real button's markup does not work: a button cannot navigate without an href and DOMPurify removes onclick. Warn against copying btnQuick, which is the Quick Connect binding hook rather than styling. Co-Authored-By: Claude --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef3bcbf..cd4413d 100644 --- a/README.md +++ b/README.md @@ -95,9 +95,14 @@ only injection point, and it needs a little CSS to look like a real button. Dashboard → General → Branding → **Login disclaimer**: ```html -Sign in with SSO +Sign in with SSO ``` +`cancel` gives the grey look of the Quick Connect button; swap it for +`button-submit` to match the blue Sign In button. Do not copy `btnQuick` off the +Quick Connect button — that class is what the login page binds Quick Connect to, +not styling. + Dashboard → General → Branding → **Custom CSS**: ```css @@ -119,6 +124,10 @@ from the classes instead. `.disclaimerContainer` is not a block by default, which is what otherwise leaves the link shrink-wrapped and centred instead of matching the width of the buttons above it. +It has to be an anchor. Copying the markup of a real login button does not work: +`