Skip to content

Commit

Permalink
twbs#39150 : fix incorrect borders in list-group-horizontal
Browse files Browse the repository at this point in the history
  • Loading branch information
gourav committed Sep 16, 2023
1 parent 344e912 commit 8d9b473
Show file tree
Hide file tree
Showing 9 changed files with 100 additions and 6 deletions.
36 changes: 36 additions & 0 deletions dist/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css.map

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions dist/css/bootstrap.rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.rtl.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.rtl.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/bootstrap.rtl.min.css.map

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions scss/_list-group.scss
Expand Up @@ -151,6 +151,16 @@
}
}
}

&.list-group-flush {
> .list-group-item {
border-right-width: 0;

&:last-child {
border-right-width: var(--#{$prefix}list-group-border-width);
}
}
}
}
}
}
Expand All @@ -171,6 +181,18 @@
border-bottom-width: 0;
}
}

// @each $breakpoint in map-keys($grid-breakpoints) {
// @include media-breakpoint-up($breakpoint) {
// $infix: breakpoint-infix($breakpoint, $grid-breakpoints);

// .list-group-horizontal#{$infix} {
// > .list-group-item {
// border-left-width: 0;
// }
// }
// }
// }
}


Expand Down

0 comments on commit 8d9b473

Please sign in to comment.