Skip to content

Commit

Permalink
Add $list-inline-padding variable
Browse files Browse the repository at this point in the history
[skip sauce]
[skip validator]
  • Loading branch information
cvrebert committed Dec 4, 2015
1 parent 8a1685f commit e8dcb2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scss/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ mark,
// Inline turns list items into inline-block
.list-inline {
@include list-unstyled;
margin-left: -5px;
margin-left: -$list-inline-padding;

> li {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
padding-right: $list-inline-padding;
padding-left: $list-inline-padding;
}
}

Expand Down
2 changes: 2 additions & 0 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ $blockquote-border-color: $gray-lighter !default;
$hr-border-color: rgba(0,0,0,.1) !default;
$hr-border-width: $border-width !default;

$list-inline-padding: 5px !default;


// Components
//
Expand Down

0 comments on commit e8dcb2f

Please sign in to comment.