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

Fix width of filter group items #1078

Merged
merged 5 commits into from
Aug 6, 2018
Merged

Conversation

cchaos
Copy link
Contributor

@cchaos cchaos commented Aug 2, 2018

Adding display: block to the items ensures the elements are only as wide as they need to be (somehow).

Also removed the max-width of the filter group popover since it's being overridden and also just unnecessary because of the actual fix and that it's a manual class vs component class.

screen shot 2018-08-02 at 15 19 14 pm

@cchaos cchaos requested review from chandlerprall and snide August 2, 2018 19:22
@cchaos
Copy link
Contributor Author

cchaos commented Aug 2, 2018

I actually did edit the docs. I removed that manual classname to the popover.

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

LGTM; pulled and verified on filter group and search bar docs pages.

@cchaos
Copy link
Contributor Author

cchaos commented Aug 2, 2018

I'll also double-check IE before I merge.

@cchaos
Copy link
Contributor Author

cchaos commented Aug 2, 2018

I just checked IE, and the filter group example is fine, but the search bar example's popover doesn't adjust it's width after the loading anim goes away and the items are loaded in. @chandlerprall any thought?

Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

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

Code looks good. Testing in Chrome/FF on the popover / table / searchbar and filtergroup pages.

Assuming IE gets fixed. 👍

@chandlerprall
Copy link
Contributor

@cchaos the filter bar is positioned incorrectly for me in both IE11 and Edge

incorrect position

I see the incorrect width of the search bar's Tag filter in IE11, digging into that.

@cchaos cchaos merged commit 70f0af5 into elastic:master Aug 6, 2018
@cchaos cchaos deleted the fix-filter-group branch August 6, 2018 23:08
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.

3 participants