Express the icon size in one unit for overlay, burn-in and video
Problem/Motivation
The icon size uses three units: a CSS custom property for the overlay, a share of the image for burn-in and "% of height" for video.
Proposed resolution
"% of short edge" everywhere. A new setting media_overlay.size exposes the overlay size on Media > Images, with an update that keeps today's 22%. Burn-in and video keep their keys and change only the label, since the short edge of a landscape video is its height. The size is measured on the visible icon.
Remaining tasks
- Overlay size setting and update
- Labels of burn-in and video
Acceptance criteria
- Overlay HTML is identical before and after the update.
- An update-path test covers the new key.
Part of #83 (closed).
AI Compliance
🤖 Generated with the help of an LLM, reviewed and approved by me before posting.
Edited by Giorgio Alfredo Pagano