Problem
Cluster 3 of the #2502 CSS class drift audit: upstream commit 21ac4b9a8a (style(ui) clarity pass, openclaw#53272) migrated .btn-sm → .btn--sm (BEM modifier convention). The fork's channels.nostr.ts still uses the old hyphen-sm variant.
Single-file, single-token rename.
Orphaned class reference (1)
| Orphaned class |
Callsite |
Upstream target |
.btn-sm |
ui/src/ui/views/channels.nostr.ts:131 |
.btn--sm (defined in components.css:625) |
Scope
- In:
ui/src/ui/views/channels.nostr.ts:131 — change btn-sm to btn--sm in the class attribute.
- Out: Other drift clusters.
Acceptance criteria
References
Problem
Cluster 3 of the #2502 CSS class drift audit: upstream commit
21ac4b9a8a(style(ui) clarity pass, openclaw#53272) migrated.btn-sm→.btn--sm(BEM modifier convention). The fork'schannels.nostr.tsstill uses the old hyphen-sm variant.Single-file, single-token rename.
Orphaned class reference (1)
.btn-smui/src/ui/views/channels.nostr.ts:131.btn--sm(defined incomponents.css:625)Scope
ui/src/ui/views/channels.nostr.ts:131— changebtn-smtobtn--smin the class attribute.Acceptance criteria
channels.nostr.ts:131usesbtn--sminstead ofbtn-smnode scripts/audit-css-class-drift.mjs— cluster 3 (21ac4b9) shows 0 orphanspnpm dev: nostr channel settings button renders with small-variant stylingReferences
21ac4b9a8a(style(ui): continue ui clarity pass across theme, config, and usage openclaw/openclaw#53272)