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
  • !26255

Add dropdown responsive alignment

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/ysds/responsive-dropdown-alignment into v4-dev Apr 11, 2018
  • Overview 0
  • Commits 6
  • Pipelines 0
  • Changes 2

Created by: ysds

Fixes #25019 (closed)

Add responsive alignment classes:

  • Left to Right: .dropdown-menu{-sm|-md|-lg|-xl}-right
  • Right to Left: .dropdown-menu{-sm|-md|-lg|-xl}-left

Basically Popper.js automatically adjust the position of dropdown menus, but its feature is disabled in navbars. These new responsive classes allow responsive alignment when use dropdown in navbars or disabling Popper.js manualy by data-display="static" option.

responsive-align

Demo: https://codepen.io/anon/pen/LdaxXq

Sorry I'm not a native English seaker, please let me know if the document is wrong.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/ysds/responsive-dropdown-alignment