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(popover): scope title class to popover component #1857

Merged
merged 2 commits into from May 24, 2019

Conversation

mcoker
Copy link
Contributor

@mcoker mcoker commented May 24, 2019

fixes #1856

@patternfly-build
Copy link

patternfly-build commented May 24, 2019

Deploy preview for pf-next ready!

Built with commit a4f0e2a

https://deploy-preview-1857--pf-next.netlify.com

@@ -76,6 +76,11 @@
padding: var(--pf-c-popover__content--PaddingTop) var(--pf-c-popover__content--PaddingRight) var(--pf-c-popover__content--PaddingBottom) var(--pf-c-popover__content--PaddingLeft);
background-color: var(--pf-c-popover__content--BackgroundColor);

> .pf-c-title {
margin-bottom: var(--pf-c-popover--c-title--MarginBottom);
line-height: 1;
Copy link
Member

Choose a reason for hiding this comment

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

When I inspect this, it looks like the line-height from the title component (1.5) is overriding the line-height (1) that is set here. Do you see that too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah nice catch, I don't know why line-height: 1 is there. If the title wraps to 2 lines, there isn't enough space/leading. I'm going to remove that :)

Screen Shot 2019-05-24 at 3 35 33 PM

Copy link
Member

@christiemolloy christiemolloy left a comment

Choose a reason for hiding this comment

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

LGTM

@christiemolloy christiemolloy merged commit 53166c9 into patternfly:master May 24, 2019
@patternfly-build
Copy link

🎉 This PR is included in version 2.8.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@mcoker mcoker deleted the issue-1856 branch December 16, 2019 22:49
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.

None yet

3 participants