Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scale the zoom out mode to fit available space #59342

Merged
merged 4 commits into from
Feb 25, 2024

Commits on Feb 24, 2024

  1. Scale zoom out mode frame based on available content width

    When there's a small area available to scale the editor, we want to have the editor larger. This implements a smooth sloped clamped scale to scale the zoomed out editor to better fit its available space.
    
    We moved the scale calculation inside of the iframe components so when this is used within the edit post and other packages, they won't need to implement their own scaling.
    jeryj authored and scruffian committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    bf73337 View commit details
    Browse the repository at this point in the history
  2. update variable name

    scruffian committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    d4b6f12 View commit details
    Browse the repository at this point in the history
  3. Add an explanatory comment

    scruffian committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    02e2f90 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0f21675 View commit details
    Browse the repository at this point in the history