From c32ece8b377fca887dc90fdb6538979a62d9f3a9 Mon Sep 17 00:00:00 2001 From: subpixelch Date: Tue, 12 May 2015 08:50:08 +0200 Subject: [PATCH] Remove display:flex for lost-row and lost-waffle in flex-mode Same reason as in https://github.com/corysimmons/lost/pull/119 -> No display:flex needed in flex-items. --- lost.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lost.js b/lost.js index fe145f29..77c2f033 100644 --- a/lost.js +++ b/lost.js @@ -806,11 +806,6 @@ module.exports = postcss.plugin('lost', function lost(settings) { }); if (lostRowFlexbox === 'flex') { - decl.cloneBefore({ - prop: 'display', - value: 'flex' - }); - decl.cloneBefore({ prop: 'flex', value: '0 0 auto' @@ -958,11 +953,6 @@ module.exports = postcss.plugin('lost', function lost(settings) { }); if (lostWaffleFlexbox === 'flex') { - decl.cloneBefore({ - prop: 'display', - value: 'flex' - }); - decl.cloneBefore({ prop: 'flex', value: '0 0 auto'