# Bug OP-19290 - Missing space between user avatar and name

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-19290

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / User administration, Frontend components and Primer design system |
| Target versions | 17.5.0 |
| Observed in versions | 17.3.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.3.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Henriette Darge |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Have 2 users
    
    1.  one active
    
    2.  one locked or deleted

2.  Log in as a non-admin user having the global permission "Create users"

3.  Open Administration \> Users list

4.  Look at the list

### What is the buggy behavior?

  - There is no space between the avatar icon and the user name for the locked / deleted user

### What is the expected behavior?

1.  Proper spacing, like for active users

It's because the link has a `margin-left: 0.25em` and when not being admin the link is not shown, so the margin is not there. That behavior is in `OpenProject::ObjectLinking#link_to_user` method. Maybe this spacing issue happens at other places as well.

By the way, this may be another bug: the link should be there as this user has the "Display all users and groups" global permission.

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/921031/content">

### Environment information

**OpenProject installation type**

  - Hosted cloud edition

**OpenProject version**

17.3.0
