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
  • #38272
Closed
Open
Issue created Mar 18, 2023 by devhoussam1998@devhoussam19982 of 2 checklist items completed2/2 checklist items

V5 bootstrap@5.3.0-alpha1: Add default border-bottom to dropdown-item

Prerequisites

  • I have searched for duplicate or closed feature requests
  • I have read the contributing guidelines

Proposal

.dropdown-menu {
  > .dropdown-item:not(:last-child),
  > li:not(:last-child) .dropdown-item {
    border-bottom: var(--#{$prefix}dropdown-border-width) solid
      var(--#{$prefix}dropdown-border-color);

    &:hover,
    &:focus {
      border-bottom-color: var(--#{$prefix}dropdown-link-hover-bg);
    }

    &:active,
    &:active {
      border-bottom-color: var(--#{$prefix}dropdown-link-active-bg);
    }
  }
}

Motivation and context

Assignee
Assign to
Time tracking