Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #15046
Closed
Open
Issue created Nov 07, 2014 by Administrator@rootContributor

Tooltips inherit font-family/weight but not size

Created by: gregtyler

If a tooltip is put inside a container with a different font family/size/weight set, the font size is reset but the font and weight aren't. This seems inconsistent, I'd expect the font-family/weight to be reset to @font-family-base and "normal".

Example on bootply: http://www.bootply.com/5CEDW2oLui

Example code:

<div style="padding:40px;font-family:'Comic Sans MS';font-weight:bold;font-size:2em;">
  Tooltip over <span title="test" data-toggle="tooltip" style="color:red">this bit</span> of string.
</div>
$('[data-toggle=tooltip]').tooltip();
Assignee
Assign to
Time tracking