Skip to content

fix(ui): migrate channels.nostr btn-sm reference to btn--sm (BEM modifier) — style(ui) clarity pass drift #2510

@alexey-pelykh

Description

@alexey-pelykh

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

  • channels.nostr.ts:131 uses btn--sm instead of btn-sm
  • Re-run node scripts/audit-css-class-drift.mjs — cluster 3 (21ac4b9) shows 0 orphans
  • Manual verification in pnpm dev: nostr channel settings button renders with small-variant styling

References

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions