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
  • #9442
Closed
Open
Issue created Aug 13, 2013 by Administrator@rootContributor

Responsive classes on inline elements

Created by: Grezvany13

All responsive classes (both by device size and print) don't like inline elements like to be hidden and shown correctly without breaking it.

Example:

<a class="btn"><i class="glyphicon glyphicon-envelope"></i> <span class="hidden-sm">Email</span></a>

It does hide the span correctly when the screensize is below 768px, however when visible it's placed below the icon since it recieves a display:block.

Possible solution: Add display:inline-block for elements like a, span, i, em, strong, etc when used in combination with responsive classes.

Assignee
Assign to
Time tracking