-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Controls] Fix styles #192319
[Controls] Fix styles #192319
Conversation
17fafe6
to
52c3375
Compare
@elasticmachine merge upstream |
src/plugins/controls/public/react_controls/control_group/components/control_panel.tsx
Outdated
Show resolved
Hide resolved
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.
This works great for the new React controls!! 🎉 Seems like some of the css
changes are impacting the controls on Dashboard, though - there is extra padding in both edit mode and view mode on the left of the label text:
Main | This PR |
---|---|
So, we can either (a) wait until #192221 and #190561 are merged to merge this change or (b) try to make these changes without impacting the old controls.
|
@andreadelrio This should be good to merge now 🎉 🎉 🎉 |
@elasticmachine merge upstream |
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.
Realized that, in the original compressed PR, we missed the fact that the "apply" button should also be compressed
😅
Would you mind fixing that here @andreadelrio? If not, I can make a quick follow up.
Other than that, this LGTM 👍 The above issue is technically unrelated, so approving to unblock. Just LMK.
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Summary
Closes #192229
Changes
prepend
in all control types, in both modes (i.e.view
andedit
) and in both label positions (i.e.inline
andabove
)View
andEdit
Mode.controlFrame__formControlLayout
.Note
We will be able to do a further clean up these styles when we are done with #192005.
Checklist
Delete any items that are not applicable to this PR.
Risk Matrix
Delete this section if it is not applicable to this PR.
Before closing this PR, invite QA, stakeholders, and other developers to identify risks that should be tested prior to the change/feature release.
When forming the risk matrix, consider some of the following examples and how they may potentially impact the change:
For maintainers