Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit f156e74

Browse files
author
Markus Falk
committed
[Task] obay csslint: remove units from margin-left: 0%;
1 parent 4ce31d7 commit f156e74

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

_grid-layout.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
$col-margin: percentage($margin/$sitewidth);
44

5+
// remove unit for css linting
6+
@if $margin == 0 {
7+
$col-margin: 0;
8+
}
9+
510
.cols#{$columns} {
611
margin: 0;
712

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grid-layout",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"homepage": "https://github.com/markusfalk/grid-layout",
55
"authors": [
66
"Markus Falk <[email protected]>"

0 commit comments

Comments
 (0)