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
  • #16683
Closed
Open
Issue created Jun 22, 2015 by Administrator@rootContributor

border radius on vertical button groups being incorrectly set on left and right

Created by: sdwarwick

not sure why this has not been seen before.. for vertical button groups, I found that changing the button border radius only changed the top-right and bottom left, not the top-left and bottom right. found that the following two lines fixed this.

.btn-group-vertical > .btn { &:not(:first-child):not(:last-child) { border-radius: 0; } &:first-child:not(:last-child) { border-top-right-radius: @btn-border-radius-base; border-top-left-radius: @btn-border-radius-base; //fixes this problem .border-bottom-radius(0); } &:last-child:not(:first-child) { border-bottom-left-radius: @btn-border-radius-base; border-bottom-right-radius: @btn-border-radius-base; //fixes this problem .border-top-radius(0); } }

Assignee
Assign to
Time tracking