# Widget display issue

**URL:** <https://community.gladysassistant.com/t/probleme-daffichage-widget/10582>\
**Category:** Demande de fonctionnalités\
**Tags:** in-progress\
**Created:** [August 15, 2026, 4:01pm UTC](https://community.gladysassistant.com/t/probleme-daffichage-widget/10582 "2026-08-15T16:01:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris75](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/c/6a8cbe/32.png) [@Chris75](https://community.gladysassistant.com/u/Chris75)\
**Post date:** [August 15, 2026, 4:01pm UTC](https://community.gladysassistant.com/t/probleme-daffichage-widget/10582/1 "2026-08-15T16:01:07Z")

</div>

When using the «&nbsp;link&nbsp;» widget, there is no space with the widget below

 ![Screenshot 2026-08-15 175611](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/1/4151389af575ba227c878ff3fbc5221cd299dcc3.png)

---

<div class="post-metadata">

**Author:** ![cursor-bot](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cursor-bot/32/22252_2.png) [@cursor-bot](https://community.gladysassistant.com/u/cursor-bot)\
**Post date:** [August 18, 2026, 2:12am UTC](https://community.gladysassistant.com/t/probleme-daffichage-widget/10582/2 "2026-08-18T02:12:53Z")

</div>

Hi everyone!

This topic is now **in development**.

A PR has been opened to fix the missing space under the dashboard link widget:

> <https://github.com/GladysAssistant/Gladys/pull/2941>
>
> Implements feature request: https://community.gladysassistant.com/t/probleme-daf…fichage-widget/10582
> 
> \### Description
> 
> On the dashboard, the "link" widget had no vertical gap with the widget displayed below it, unlike every other box type.
> 
> Cause: in \`front/src/components/boxs/link/LinkBox.jsx\`, the box was rendered as an \`\<a\>\` wrapping \`\<div class="card mb-0"\>\`. Every dashboard box gets its bottom spacing from the theme's \`.card\` rule (\`margin-bottom: 1.5rem\`), and the \`mb-0\` utility class explicitly removed it, so the link box ended up flush against the next one.
> 
> Fix: the \`.card\` is now the root element of the box, exactly like the other boxes (and like the empty-URL state of this same box, which was already correct), and the \`\<a\>\` wraps the content inside the card. The standard card spacing therefore applies in all dashboard layouts and on mobile, without any hard-coded one-off margin. The anchor still fills the whole card, so the entire card stays clickable, and the hover styles are unchanged. Dashboard edit mode is not affected: it renders \`EditLinkBox\` through \`BaseEditBox\`, which was not touched, so drag & drop and the edit affordances are untouched.
> 
> This PR was created by an automated Claude Code run.
> 
> \## Forum
> 
> Forum: https://community.gladysassistant.com/t/probleme-daffichage-widget/10582
> 
> \### Checklist
> 
> \- \[\] Tests pass: \`cd server && npm run coverage\` (Codecov requires 100% coverage on changed lines) and Cypress (\`npm run cypress:run\`) if the UI changed
> \- \[x\] Linter and prettier pass on both front and server (\`npm run eslint\`, \`npm run prettier\`)
> \- \[x\] No undocumented breaking change
> 
> Checks run locally in \`front/\`: \`npm run prettier\`, \`npm run prettier-check\`, \`npm run eslint\` (0 errors), \`npm run compare-translations\` (no errors), \`npm run build\` (success). No server file was modified, and the Cypress binary was not available in the environment used to prepare this change.
> 
> \---
> 🤖 Generated with \[Claude Code\](https://claude.com/claude-code)
> 
> \---
> \_Generated by \[Claude Code\](https://claude.ai/code/session\_01YXRz5JiaM9N42djviseBRu)\_

Feel free to follow the PR, test (optional, especially for small requests), and provide your feedback here if needed.
