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

Popover content inherits font-size, but title doesn't #14386

Closed
gregtyler opened this issue Aug 13, 2014 · 2 comments
Closed

Popover content inherits font-size, but title doesn't #14386

gregtyler opened this issue Aug 13, 2014 · 2 comments

Comments

@gregtyler
Copy link
Contributor

The popover content element inherits its font-size from the parent, but the title has a fixed font-size. This can lead to weird looking popovers when used in conjunction with, e.g., header elements.

Example on bootply: http://www.bootply.com/r7KlVkSppU

Example code:

<h1>
    Title
    <button type="button" class="btn btn-lg btn-danger" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
</h1>
$('button').popover();
@gregtyler
Copy link
Contributor Author

capture
Attached image demonstrating problem.

@mdo
Copy link
Member

mdo commented Aug 23, 2014

Fixed example: http://jsbin.com/jafovo/1/.

@mdo mdo closed this as completed Aug 23, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants