-
Notifications
You must be signed in to change notification settings - Fork 844
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
New icons, new sizes for EmptyButton and HRs, un-responsive FlexGroups #126
Conversation
Conflicts: docs/src/views/query_panel/query_panel.js
Conflicts: docs/src/views/query_panel/query_panel.js
@@ -7,6 +7,7 @@ | |||
.euiPopover { | |||
display: inline-block; | |||
position: relative; | |||
vertical-align: middle; |
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.
Just curious, why was this added?
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.
Popover is a wrapper for inline elements. Without it, it can cause vertical alignment to get screwy if you have multiple popover items (like pills with popovers) next to each other.
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.
LGTM just had a question.
src/components/flex/_flex_item.scss
Outdated
@@ -17,7 +17,7 @@ | |||
|
|||
// On mobile we force them to stack and act the same. | |||
@include screenXSmall { | |||
.euiFlexItem { | |||
.euiFlexGroup--responsive .euiFlexItem{ |
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.
Minor nit, missing a space before the {
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.
LGTM
Moves over a bunch of the generic additions from #109 which we can't pull in yet.
Additions
xs
size to our empty buttons (I don't want this applied to regular buttons, which is why I didn't add it there).xs
margin to horizontal rules.EuiFlexGroup
which disables responsiveness (useful when you use flexgroup more for alignment rather than gridding). Added the prop to a few places that make sense.Adds docs and fixes tests for all of the above.