# Problemas de alineación del distintivo con el texto

**URL:** <https://community.gladysassistant.com/t/soucis-dalignement-du-badge-avec-le-texte/10548>\
**Category:** Configuration\
**Created:** [14 Agosto, 2026 11:21 UTC](https://community.gladysassistant.com/t/soucis-dalignement-du-badge-avec-le-texte/10548 "2026-08-14T11:21:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [14 Agosto, 2026 11:21 UTC](https://community.gladysassistant.com/t/soucis-dalignement-du-badge-avec-le-texte/10548/1 "2026-08-14T11:21:33Z")

</div>

Hola

Acabo de ver un pequeño «&nbsp;problema&nbsp;» visual con el distintivo del contador de actualizaciones de las integraciones:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/7/476672f7bc5c47a83f65d4a1d8def3cae409e232.png)

No sé si era intencional, así que prefiero informar de ello 😃

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [14 Agosto, 2026 11:47 UTC](https://community.gladysassistant.com/t/soucis-dalignement-du-badge-avec-le-texte/10548/2 "2026-08-14T11:47:42Z")

</div>

Bien visto, está corregido:

> <https://github.com/GladysAssistant/Gladys/pull/2875>
>
> \### Description
> 
> The "integrations to update" counter badge in the header menu l…ooked misplaced on mobile: it floated at the far right edge of the screen, vertically offset above the "Intégrations" row, disconnected from the label it counts.
> 
> The theme styles all nav badges as \`position: absolute; top: 0; right: 0\` relative to the \`.nav-item\` (\`.nav-link .badge, .nav-item .badge\` in \`dashboard.css\`). On desktop the nav item hugs its link, so the badge lands neatly next to the text. In the collapsed mobile menu the items are stacked full-width, so the same rule sends the badge to the edge of the viewport.
> 
> This makes the badge flow inline after the label below the \`lg\` breakpoint (the breakpoint at which \`#headerMenuCollapse\` switches to the stacked menu). The existing \`ml-2\` on the badge provides the spacing, and the \`.nav-link\` flex centering keeps it aligned with the text. At 390px the badge now sits directly after "Intégrations", vertically centered with it.
> 
> Desktop rendering is untouched — I rendered the header markup against the theme CSS at 1200px with and without the override, and the two screenshots are byte-identical.
> 
> \### Forum
> 
> N/A
> 
> \### Checklist
> 
> \- \[x\] Tests pass: no test touched — the change is a single CSS rule in \`front/src/style/index.css\`, no JS/JSX changed, so coverage on changed lines is unaffected
> \- \[x\] Linter and prettier pass on both front and server — \`prettier\`/\`eslint\` are scoped to \`\*\*/\*.js\`, \`\*\*/\*.jsx\` and \`\*\*/\*.json\` in this repo, and no such file is modified
> \- \[x\] No undocumented breaking change
> 
> 
> 
> \## Summary by CodeRabbit
> 
> \* \*\*Style\*\*
> \* Improved mobile header navigation layout by displaying badges inline on smaller screens.
> \* Enhanced responsiveness for viewport widths below 991.98px.
