element-hq / element-hq/hydrogen-web

In the element theme, the font-size in :root should be scoped to hydrogen

Open
#482 1 comment 0 reactions 0 assignees View on GitHub
sdk
Dominant language
TypeScript
Stars
714
Forks
131
PR merge metrics
No merged PRs in 30d

Description

To avoid bleeding outsize of the hydrogen container when hydrogen is embedded in a web page.

https://github.com/vector-im/hydrogen-web/blob/25d0cbe9a2120169db2e00942d216b31afbcf021/src/platform/web/ui/css/themes/element/theme.css#L21

Contributor guide

Open the contributing guide

Research direction

Start with src/platform/web/ui/css/themes/element/theme.css at the linked :root rule and inspect how the hydrogen container is represented in the theme styles. Done means the font-size no longer bleeds outside an embedded hydrogen container while preserving the intended sizing inside it.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.