Skip to content

Conversation

@andreadelrio
Copy link
Contributor

@andreadelrio andreadelrio commented Dec 4, 2020

Summary

  • Reduce padding in EuiToolTip and therefore overall size to better align with smaller font size.

Frame 3

  • Reduce EuiRange's tooltip border-radius

Frame 4

Checklist

- [ ] Check against all themes for compatibility in both light and dark modes
- [ ] Checked in mobile

  • Checked in Chrome, Safari, Edge, and Firefox
    - [ ] Props have proper autodocs
    - [ ] Added documentation
    - [ ] Checked Code Sandbox works for the any docs examples
    - [ ] Added or updated jest tests
    - [ ] Checked for breaking changes and labeled appropriately
    - [ ] Checked for accessibility including keyboard-only and screenreader modes
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link

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

1 similar comment
@kibanamachine
Copy link

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

@andreadelrio andreadelrio changed the title [EuiTooltip] Reduce padding in Amsterdam [Amsterdam] Small styling adjustments in tooltips Dec 6, 2020
@kibanamachine
Copy link

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

Copy link
Contributor

@elizabetdev elizabetdev left a comment

Choose a reason for hiding this comment

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

Tested in Chrome, Safari, Edge, and Firefox. LGTM! 🎉

@@ -0,0 +1,3 @@
.euiRangeTooltip__value {
border-radius: $euiSizeXS;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just noticed this now. We have a border-radius variable that is 4px like the $euiSizeXS;

Suggested change
border-radius: $euiSizeXS;
border-radius: $euiBorderRadius;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

How about $euiBorderRadiusSmall? 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

@kibanamachine
Copy link

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

Copy link
Contributor

@cchaos cchaos left a comment

Choose a reason for hiding this comment

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

🎉

@cchaos cchaos merged commit e5e03cf into elastic:master Dec 7, 2020
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.

4 participants