-
Notifications
You must be signed in to change notification settings - Fork 601
Pro 7348 #4906
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
Conversation
width: max-content; | ||
max-width: 95vw; | ||
} | ||
|
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.
Check that toolbar can go beyond parent width (editor) but still shrink to stay visible when window resize.
.apos-rich-text-insert-menu-label__title, | ||
.apos-rich-text-insert-menu-label__desc { | ||
color: var(--a-white); | ||
} |
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.
More strict style to be less overridable.
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.
🎉
https://linear.app/apostrophecms/issue/PRO-7348/rich-text-toolbar-resize-weirdly-when-too-long
https://linear.app/apostrophecms/issue/PRO-7497/the-insert-image-title-becomes-invisible-in-blue-against-a-dark-purple
Summary
max-content
to not be limited to parent width. But also a max-wdith to not go above screen width.What are the specific steps to test this change?
Check tickets.
What kind of change does this PR introduce?
Make sure the PR fulfills these requirements: