Skip to content

#1450 [Banner] add: expose element subtype class and wrap the ref/label separator#1451

Merged
nicolas-eoxia merged 1 commit into
Evarisk:developfrom
nicolas-eoxia:feat/1450-banner-element-type-class
Jul 6, 2026
Merged

#1450 [Banner] add: expose element subtype class and wrap the ref/label separator#1451
nicolas-eoxia merged 1 commit into
Evarisk:developfrom
nicolas-eoxia:feat/1450-banner-element-type-class

Conversation

@nicolas-eoxia

Copy link
Copy Markdown
Contributor

Closes #1450

Changement

Pour permettre aux modules de styliser la ref/label du bandeau (ex. en badge) :

  • classe banner-element-{element_type} sur .arearef (si l'objet a un element_type),
  • séparateur - emballé dans <span class="banner-ref-sep"> (masquable en CSS).

Aucun changement visuel par défaut. Support de Evarisk/Digirisk#4899 (ref en badge type arbre GP/UT).

🤖 Generated with Claude Code

…ref/label separator

Add a banner-element-{element_type} class on the .arearef div (when the object
has an element_type) and wrap the " - " ref/label separator in a hideable span,
so modules can style the banner ref/label (e.g. as a badge). No visual change by
default.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant