-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Image: Consolidate crop ratios #22817
Image: Consolidate crop ratios #22817
Conversation
@@ -85,3 +85,13 @@ | |||
.richimage-toolbar__control { | |||
padding: 6px; | |||
} | |||
|
|||
.richimage__aspect-title { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's where it is! I though I had seen it somewhere, but I couldn't remember where and I couldn't find a component for it, so I assumed I had imagined it. Looks like it's a prop, not a component.
I was going to open another PR to add that to the storybook quick, but would you rather see it under the MenuGroup
component or the DropdownMenu
component?
03e622c
to
a2b67d3
Compare
This matches the terminology from DropdownMenu
Just needs a rebase now :) |
Description
This removes the portrait/landscape button in favor of a simpler, unified aspect ratio menu with both portrait and landscape ratios in the same menu.
How has this been tested?
Add image block, open crop, view the unified aspect ratio menu.
Screenshots
Types of changes
Fixes #22567
Checklist: