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
  • #7808
Closed
Open
Issue created May 07, 2013 by Administrator@rootContributor

Using display inherit in responsive utilities causes elements to be wrongly displayed

Created by: AoDev

In clases like .hidden-phone, etc...

We should not use display:inherit in those clases. Inherit will cause the element to be displayed the same way than its parent.

Example of this problem:

<div class="I have display box">
    <a class="hidden-phone" href="#"> Don't like phones </a>
    <a href="#"> Show me anywhere </a>
</div>

The first link, instead of being displayed inline, like a "normal link" will get display box from its parent. This will cause the second link to go below, instead of being on the same line.

I can send a pull request but I'd like some confirmation about this problem before doing anything.

Assignee
Assign to
Time tracking