element-hq / element-hq/element-web

Space pills break at some font size settings

Open
#26,396 0 comments 0 reactions 0 assignees View on GitHub
A-Timeline O-Occasional S-Tolerable T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Follows up on #26056

1. Change font size to 21pt

### Outcome

#### What did you expect?

#### What happened instead?
the avatar is offset from the "hole" in the pill and/or scales differently (not at all?)
![image](https://github.com/vector-im/element-web/assets/2803622/4c86a443-5679-4720-969d-819997a744f1)

### Operating system

arch

### Application version

Element Nightly version: 2023101701 Olm version: 3.2.14

### How did you install the app?

aur

### Homeserver

_No response_

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Element Nightly on Arch by changing the font size to 21pt, then inspect the avatar and pill rendering involved in the affected view. Done means the avatar remains aligned with the pill hole and scales consistently at the reported font size.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.