Skip to content

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

Merged
1Copenut merged 4 commits intoelastic:mainfrom
1Copenut:bug/euiCombobox-vertical-centering-6899
Jul 6, 2023
Merged

[EuiCombobox]: Added a rule to reset margin on compressed plain text pills.#6910
1Copenut merged 4 commits intoelastic:mainfrom
1Copenut:bug/euiCombobox-vertical-centering-6899

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 requested review from andreadelrio and breehall July 6, 2023 17:17
@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
Contributor

@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
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

4 participants