diff options
| author | Chris Rebert <[email protected]> | 2016-02-16 23:08:41 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-02-16 23:08:41 -0800 |
| commit | 845ad69f9355de9a2c2ab01b87eca8f553ea5675 (patch) | |
| tree | 094592996906ab68e2dc3427e28afc07c46a2cda | |
| parent | 9ee155e5f3a7e899a5394bf239aa2c17bcc35412 (diff) | |
| parent | 1f02ab21ee7711cf1be7f1d802db9388dd5d95b3 (diff) | |
| download | bootstrap-845ad69f9355de9a2c2ab01b87eca8f553ea5675.tar.xz bootstrap-845ad69f9355de9a2c2ab01b87eca8f553ea5675.zip | |
Merge pull request #19250 from twbs/list-group-item-padding
Add $list-group-item-padding-{x,y} variables
| -rw-r--r-- | scss/_list-group.scss | 2 | ||||
| -rw-r--r-- | scss/_variables.scss | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss index ba91d95f1..e060c4181 100644 --- a/scss/_list-group.scss +++ b/scss/_list-group.scss @@ -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; diff --git a/scss/_variables.scss b/scss/_variables.scss index a4ff3d06d..b376e6180 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -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 |
