-
Notifications
You must be signed in to change notification settings - Fork 181
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
fix size api selector and add basic test #3445
fix size api selector and add basic test #3445
Conversation
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.
CR: ✔️
Testing: ✔️
public/components/wz-menu/wz-menu.js
Outdated
@@ -632,7 +632,7 @@ export const WzMenu = withWindowSize(class WzMenu extends Component { | |||
} | |||
|
|||
getApiSelectorComponent() { | |||
let style = { maxWidth: 100 }; | |||
let style = { minWidth: 'max-content' }; |
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.
It is a very difficult case to happen (that the api name is so long) but I will consider it.
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.
CR: LGTM ✔️
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.
CR: LGTM!
Hi team, this resolves:
How to Test:
Closes #3334