Skip to content

Commit

Permalink
Add standard icon spacing classes
Browse files Browse the repository at this point in the history
* Sets a standard distance for all icon spacing
* Uses em so that it scales proportionally to font size
  • Loading branch information
sman591 committed Sep 9, 2016
1 parent 95bc4f7 commit 3ae4c15
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/css/csh-material-bootstrap.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/css/csh-material-bootstrap.css.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions sass/csh-material-bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// -----------------------------------------------------
@import "variables";
@import "../bower_components/bootstrap-sass/assets/stylesheets/bootstrap";
@import "icons";

$web-font-path: "https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" !default;
@import url($web-font-path);
Expand Down
7 changes: 7 additions & 0 deletions sass/icons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.icon-space-r {
margin-right: 0.4em;
}

.icon-space-l {
margin-left: 0.4em;
}

0 comments on commit 3ae4c15

Please sign in to comment.