HomePhabricator

Refactor CSS image size calculations

Description

Refactor CSS image size calculations

Move the calculation of the wrapper size to the wrapper element’s own
CSS, and inherit it in the img CSS as a variable. This shouldn’t have
any effect yet, but paves the way for tweaking the wrapper size in the
next commit.

Details

Provenance
LucasWerkmeisterAuthored on May 20 2022, 10:15 AM
Parents
R2422:2fc87dbcf3cd: Scroll only image when scaling up
Branches
Unknown
Tags
Unknown
ChangeId
None