-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add ability to manually set image dimensions #5812
Commits on Apr 16, 2018
-
Add ability to manually set image dimensions
Let users manually set the width and height of an image either using a text field or by a preset percentage amount.
Configuration menu - View commit details
-
Copy full SHA for e593b31 - Browse repository at this point
Copy the full SHA e593b31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08dec8b - Browse repository at this point
Copy the full SHA 08dec8bView commit details -
Add explicit height to the editor image only
The resizing tools we use size a parent div on the image. The height: auto responsive CSS we inherit from up higher messes with this. So this push adds an explicit 100% height on resized images. Co-authored-by: Joen Asmussen <joen@automattic.com>
Configuration menu - View commit details
-
Copy full SHA for c06aecd - Browse repository at this point
Copy the full SHA c06aecdView commit details -
Fix Safari misaligning width/height placeholders
Setting an explicit line height on the width and height text fields prevents a small visual bug in Safari where the fields flicker when a number is typed in.
Configuration menu - View commit details
-
Copy full SHA for c139fae - Browse repository at this point
Copy the full SHA c139faeView commit details -
Fix paragraph and image inspector control margins
- Fixes Reset button being too tall on mobile in the paragraph and image inspectors - Makes the margin at bottom of a <ButtonGroup> consistent with all other controls (1em) - Fix regression causing width and height fields from being too close to each other
Configuration menu - View commit details
-
Copy full SHA for bdf94cd - Browse repository at this point
Copy the full SHA bdf94cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43c6e08 - Browse repository at this point
Copy the full SHA 43c6e08View commit details -
Don't set inline styles on an image's <figure>
Let the <figure> get its width from the fit-content rule that was added in 2dc9fb3.
Configuration menu - View commit details
-
Copy full SHA for 0fd7a95 - Browse repository at this point
Copy the full SHA 0fd7a95View commit details -
Configuration menu - View commit details
-
Copy full SHA for 33a4bed - Browse repository at this point
Copy the full SHA 33a4bedView commit details
Commits on Apr 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9674199 - Browse repository at this point
Copy the full SHA 9674199View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18e4e92 - Browse repository at this point
Copy the full SHA 18e4e92View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfd6d55 - Browse repository at this point
Copy the full SHA cfd6d55View commit details -
Reset any set image dimensions when image is changed
If the user selects a new image, forget any image dimensions that they added since it likely no longer makes any sense.
Configuration menu - View commit details
-
Copy full SHA for af073ab - Browse repository at this point
Copy the full SHA af073abView commit details