0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +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:
Chris Rebert 2016-02-16 23:08:41 -08:00
commit 845ad69f93
2 changed files with 4 additions and 1 deletions

View File

@ -16,7 +16,7 @@
.list-group-item {
position: relative;
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
margin-bottom: -$list-group-border-width;
background-color: $list-group-bg;

View File

@ -728,6 +728,9 @@ $list-group-link-color: #555 !default;
$list-group-link-hover-color: $list-group-link-color !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