GitLab Documentation


How to style a bootstrap dropdown

  1. Use the HTML structure provided by the docs
  2. Add a specific class to the top level .dropdown element
      %button{ type: 'button', data: { toggle: 'dropdown' }, 'aria-haspopup': true, 'aria-expanded': false }
          Toggle Dropdown
        = icon('chevron-down')

    Or use the helpers
      = dropdown_toggle('Toogle!', { toggle: 'dropdown' })
      = dropdown_content

Leave a comment below if you have any feedback on the documentation. For support and other inquires, see getting help.