mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Border width variable in list group items
Added usage of $border-width variable in all _list-group.scss references
This commit is contained in:
parent
4ee6d99c9d
commit
df040671bb
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@
|
|||
display: block;
|
||||
padding: .75rem 1.25rem;
|
||||
// Place the border on the list items and negative margin up for better styling
|
||||
margin-bottom: -.0625rem;
|
||||
margin-bottom: -$border-width;
|
||||
background-color: $list-group-bg;
|
||||
border: .0625rem solid $list-group-border;
|
||||
border: $border-width solid $list-group-border;
|
||||
|
||||
// Round the first and last items
|
||||
&:first-child {
|
||||
|
@ -34,7 +34,7 @@
|
|||
|
||||
.list-group-flush {
|
||||
.list-group-item {
|
||||
border-width: .0625rem 0;
|
||||
border-width: $border-width 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue