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
  • #21860
Closed
Open
Issue created Jan 27, 2017 by Administrator@rootContributor

Issue with `position: relative` on container in alpha 6

Created by: ilyavolodin

Alpha 6 introduced a minor change to container class with this PR: https://github.com/twbs/bootstrap/commit/d9fcdcfa767c7579e90e334f42457b9b5378f67d Even though it's a one-line change, it has a huge effect on layout, since if you are using Bootstrap grid for page layouts, it's now impossible to create absolutely positioned to screen elements from inside the grid. Having position: relative on container is very limiting. Unfortunately PR that was merged doesn't really explain why this change has been made other then in the title. There's a comment on the PR https://github.com/twbs/bootstrap/pull/21464#issuecomment-269627888 that basically says the same thing as this issue (but it's not clear if it's supporting the change or warning against it).

Is this something that can be reverted in the future releases?

Assignee
Assign to
Time tracking