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
  • Merge requests
  • !4161

Remove position style from .collapse class

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/senfo/master into master Jul 23, 2012
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Created by: senfo

The "position: relative;" style in the .collapse class was causing issues for me. It didn't seem like it was necessary for the style to exist so I removed it. I've tested and haven't noticed anything that I broke, but I'm not 100% confident.

Imagine a multi-column page in which the far left column contains "draggable" content (something you can drag from the far left column into another column). Because of the way "overflow: auto;" works, content dragged from the left column will disappear at the boundaries of the column. By removing the "position: relative" style, we are able to overcome this issue while maintaining proper collapsing functionality.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/senfo/master