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
  • #767
Closed
Open
Issue created Dec 07, 2011 by Administrator@rootContributor

Fuzzy Labels When in Links in Dropdown Tabs

Created by: dasmith

I've been using Bootstrap's labels in my tabs, which naturally contain links (surrounded with a tags.) When they are placed in dropdown menus, they appear fuzzy, as if they are being rendered multiple times. If I move them outside of the a tag, they appear on the next line. This is only a problem for the dropdown (popup) tabs.

Labels in Dropdown Tabs

Here is the code:

<!-- No problem here -->          
<a href="#"> <span class="label important">test</span></a> 

<ul class="tabs" data-tabs="tabs">
  <li class="dropdown" data-dropdown="dropdown">
    <!-- No problem -->
    <a href="#" class="dropdown-toggle">Parent <span class="label important"> 33</span></a>
    <ul class="dropdown-menu">
    <!-- Problem: Wrapping -->
      <li><a href="#">Child 1</a> <span class="label warning">1234</span></li>
    <!-- Problem: Fuzzy Text -->
      <li><a href="#">Child 2 <span class="label important">3456</span></a></li>
  </li>
</ul>

<script type="text/javascript">
    $(function() {
        // load context set tabs
        $(".tabs").tabs();
    });
</script>
Assignee
Assign to
Time tracking