Skip to content
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

[EuiCombobox]: Added a rule to reset margin on compressed plain text pills. #6910

Merged

Conversation

1Copenut
Copy link
Contributor

@1Copenut 1Copenut commented Jul 6, 2023

Summary

@andreadelrio identified a bug where the compressed EuiCombox plain text pills were not aligned vertically. I added a rule to target these pills specifically and adjust the vertical margin.

PR closes #6899.

QA

Screen Shot 2023-07-06 at 12 05 32 PM
Screen Shot 2023-07-06 at 12 05 26 PM

General checklist

  • Checked in both light and dark modes
  • Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
  • Props have proper autodocs (using @default if default values are missing) and playground toggles
  • Added documentation
  • Checked Code Sandbox works for any docs examples
  • Added or updated jest and cypress tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
  • Updated the Figma library counterpart
  • A changelog entry exists and is marked appropriately

@1Copenut 1Copenut self-assigned this Jul 6, 2023
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_6910/

Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com>
Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com>
Copy link
Member

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super clean and elegant fix Trevor! 🎉 I think it'll transcribe well to Emotion too when that time comes!

Copy link
Contributor

@andreadelrio andreadelrio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉 Thanks for the quick fix!

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_6910/

@1Copenut 1Copenut enabled auto-merge (squash) July 6, 2023 22:20
@1Copenut 1Copenut merged commit cda6e0d into elastic:main Jul 6, 2023
1 check passed
cee-chen added a commit to elastic/kibana that referenced this pull request Jul 14, 2023
## Summary

`eui@83.1.0` ⏩ `eui@84.0.0`

---

## [`84.0.0`](https://github.com/elastic/eui/tree/v84.0.0)

- Updated `EuiDualRange`'s `minInputProps` and `maxInputProps` to
support passing more props to underlying inputs
([#6902](elastic/eui#6902))
- `EuiFocusTrap` now supports configuring cross-iframe focus trapping
via the `crossFrame` prop
([#6908](elastic/eui#6908))

**Bug fixes**

- Fixed `EuiFilterButton` icon display
([#6900](elastic/eui#6900))
- Fixed `EuiCombobox` compressed plain text display
([#6910](elastic/eui#6910))
- Fixed visual appearance of collapse buttons on collapsible
`EuiResizablePanel`s ([#6926](elastic/eui#6926))

**Breaking changes**

- `EuiFocusTrap` now defaults to *not* trapping focus across iframes
([#6908](elastic/eui#6908))

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@1Copenut 1Copenut deleted the bug/euiCombobox-vertical-centering-6899 branch July 25, 2023 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EuiComboBox] Single selection value is not centered (compressed display)
4 participants