Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-grid-fluid

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-grid-fluid - npm Package Compare versions

Comparing version 0.1.12 to 0.1.14

8

lib/row.js

@@ -13,3 +13,3 @@ 'use strict';

exports.default = function (decl, margin, display) {
exports.default = function (decl, gutter, display) {
var clearfixRule = _postcss2.default.rule({ selector: decl.parent.selector + '::after' });

@@ -21,4 +21,8 @@ clearfixRule.append({ prop: 'content', value: '""' });

var declNew = [_postcss2.default.decl({ prop: 'clear', value: 'both' }), _postcss2.default.decl({ prop: 'margin-right', value: '-' + margin })];
var declNew = [_postcss2.default.decl({ prop: 'clear', value: 'both' })];
if (gutter !== '0') {
declNew = declNew.concat([_postcss2.default.decl({ prop: 'margin-right', value: '-' + gutter })]);
}
if (display === 'flex') {

@@ -25,0 +29,0 @@ declNew = declNew.concat([_postcss2.default.decl({ prop: 'display', value: 'flex' }), _postcss2.default.decl({ prop: 'flex-flow', value: 'row wrap' }), _postcss2.default.decl({ prop: 'align-items', value: 'flex-start' }), _postcss2.default.decl({ prop: 'align-content', value: 'flex-start' })]);

{
"name": "postcss-grid-fluid",
"version": "0.1.12",
"version": "0.1.14",
"description": "A PostCSS plugin to create fluid grids.",

@@ -24,6 +24,6 @@ "keywords": [

"dependencies": {
"postcss": "^5.0.21"
"postcss": "^5.2.4"
},
"scripts": {
"build": "babel src --out-dir lib",
"dist": "babel src --out-dir lib",
"test": "ava && eslint *.js"

@@ -33,12 +33,12 @@ },

"devDependencies": {
"ava": "^0.15.2",
"babel-cli": "^6.10.1",
"babel-preset-es2015": "^6.9.0",
"babel-register": "^6.9.0",
"eslint": "^3.0.1",
"eslint-config-airbnb": "^9.0.1",
"eslint-plugin-import": "^1.10.2",
"eslint-plugin-jsx-a11y": "^1.5.5",
"eslint-plugin-react": "^5.2.2",
"postcss-cli": "^2.5.2"
"ava": "^0.16.0",
"babel-cli": "^6.16.0",
"babel-preset-es2015": "^6.16.0",
"babel-register": "^6.16.3",
"eslint": "^3.7.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-jsx-a11y": "^2.2.2",
"eslint-plugin-react": "^6.3.0",
"postcss-cli": "^2.6.0"
},

@@ -45,0 +45,0 @@ "eslintConfig": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc