HomePhabricator

Scroll only image when scaling up

Tags
None
Referenced Files
None
Subscribers
None

Description

Scroll only image when scaling up

Put the image inside a wrapper, and scroll only that wrapper if the
image overflows it, rather than scrolling the whole page. This keeps the
rest of the user interface more accessible.

The CSS needs to be tweaked a little due to the extra element; to make
the hidden buttons work, the wrapper needs to be tagged with the
--active class as well (though we still keep it on the image too).

Details

Provenance
LucasWerkmeisterAuthored on May 20 2022, 9:56 AM
Parents
R2422:803f7f1f3ae6: Add info message when users cannot edit
Branches
Unknown
Tags
Unknown
ChangeId
None