-
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] Options list control selections are centered #174971
Comments
Pinging @elastic/kibana-presentation (Team:Presentation) |
I wonder how this happened?? |
@ThomThomson Most likely culprit is #174487, since changes were made to the |
@cee-chen it seems this PR - removing the inner span - might have led to this issue. @Heenawter has a fix in the related PR, but I suspect an EUI fix may be in order. Thoughts? |
It was an intentional change :) DOM cleanups are part and parcel of frontend life (EUI can't be so afraid of changing the DOM that we create a component and never touch it thereafter), and markup is not an API we guarantee or flag as a breaking change. I try to grep for obvious |
…5073) Closes #174971 ## Summary This PR fixes the alignment issue for the options list control that happened due to the most recent EUI update. | Before | After | |--------|--------| | ![Jan-17-2024 16-03-07](https://github.com/elastic/kibana/assets/8698078/d40993fc-ed16-4ca6-86fa-aa156e4ef4d8) | ![Jan-17-2024 16-04-00](https://github.com/elastic/kibana/assets/8698078/1746cecb-8c93-46a9-b381-1ef07b1d9999) | ### Checklist - [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…stic#175073) Closes elastic#174971 ## Summary This PR fixes the alignment issue for the options list control that happened due to the most recent EUI update. | Before | After | |--------|--------| | ![Jan-17-2024 16-03-07](https://github.com/elastic/kibana/assets/8698078/d40993fc-ed16-4ca6-86fa-aa156e4ef4d8) | ![Jan-17-2024 16-04-00](https://github.com/elastic/kibana/assets/8698078/1746cecb-8c93-46a9-b381-1ef07b1d9999) | ### Checklist - [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
…stic#175073) Closes elastic#174971 ## Summary This PR fixes the alignment issue for the options list control that happened due to the most recent EUI update. | Before | After | |--------|--------| | ![Jan-17-2024 16-03-07](https://github.com/elastic/kibana/assets/8698078/d40993fc-ed16-4ca6-86fa-aa156e4ef4d8) | ![Jan-17-2024 16-04-00](https://github.com/elastic/kibana/assets/8698078/1746cecb-8c93-46a9-b381-1ef07b1d9999) | ### Checklist - [x] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Kibana version:
main
Describe the bug:
All control selections should be left aligned; not sure what changed, but they are currently being center aligned:
Seems to be fixed if you add
text-align: left
to theoptionsList--filterGroup
class, but there might be a better way.The text was updated successfully, but these errors were encountered: