mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Merge pull request #19250 from twbs/list-group-item-padding
Add $list-group-item-padding-{x,y} variables
This commit is contained in:
commit
845ad69f93
@ -16,7 +16,7 @@
|
|||||||
.list-group-item {
|
.list-group-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
padding: .75rem 1.25rem;
|
padding: $list-group-item-padding-y $list-group-item-padding-x;
|
||||||
// Place the border on the list items and negative margin up for better styling
|
// Place the border on the list items and negative margin up for better styling
|
||||||
margin-bottom: -$list-group-border-width;
|
margin-bottom: -$list-group-border-width;
|
||||||
background-color: $list-group-bg;
|
background-color: $list-group-bg;
|
||||||
|
@ -728,6 +728,9 @@ $list-group-link-color: #555 !default;
|
|||||||
$list-group-link-hover-color: $list-group-link-color !default;
|
$list-group-link-hover-color: $list-group-link-color !default;
|
||||||
$list-group-link-heading-color: #333 !default;
|
$list-group-link-heading-color: #333 !default;
|
||||||
|
|
||||||
|
$list-group-item-padding-x: 1.25rem !default;
|
||||||
|
$list-group-item-padding-y: .75rem !default;
|
||||||
|
|
||||||
|
|
||||||
// Image thumbnails
|
// Image thumbnails
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user