From 300cc722e7cf96c7706f393e0147924e0692ec28 Mon Sep 17 00:00:00 2001 From: peng Date: Mon, 10 Aug 2026 11:20:15 -0700 Subject: [PATCH] fix(docs): give the SCA sidebar group a lock icon The API reference sidebar sets tag-group icons through CSS ::before rules keyed on li[data-title="..."] in mintlify/style.css. Every OpenAPI tag in the spec had a rule except Strong Customer Authentication, which rendered with no icon at all. Mintlify offers no supported way to set an icon on an auto-generated tag group from the spec itself: `icon` on a tag object fails OpenAPI validation, and `x-mint: { icon }` is silently ignored. Declaring the group explicitly in docs.json does render an icon, but an explicit `pages` array turns off endpoint auto-generation for the whole group, so the CSS rule is the right fix here. Verified against `mint dev`: the group's ::before now resolves to lock.svg at 20x20, and all 23 sidebar groups have an icon. Co-Authored-By: Claude Opus 5 (1M context) --- mintlify/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mintlify/style.css b/mintlify/style.css index 191d93b83..0131dfb69 100644 --- a/mintlify/style.css +++ b/mintlify/style.css @@ -1426,6 +1426,12 @@ ul.sidebar-group > li[data-title="Contact Verification"] > button::before { background-image: url('/images/icons/IconEmail2Check.svg') !important; } +/* Strong Customer Authentication - lock */ +.sidebar-group > li[data-title="Strong Customer Authentication"] > button::before, +ul.sidebar-group > li[data-title="Strong Customer Authentication"] > button::before { + background-image: url('/images/icons/lock.svg') !important; +} + /* Cards - credit card */ .sidebar-group > li[data-title="Cards"] > button::before, ul.sidebar-group > li[data-title="Cards"] > button::before {