Skip to content

Commit 01c4faf

Browse files
committed
#370 Fixes failing tests after FF waffle fix
1 parent 064e390 commit 01c4faf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/lg-gutter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe('lost-gutter-local', () => {
6666
it('works on shortcut lost-waffle', () => {
6767
check(
6868
'div { padding: $lost-gutter-local; lost-waffle: 1/3 3 20px;}',
69-
'div { padding: 20px; width: calc(99.9% * 1/3 - (20px - 20px * 1/3)); height: calc(99.9% * 1/3 - (20px - 20px * 1/3));}\n'+
69+
'div { padding: 20px; width: calc(99.9% * 1/3 - (20px - 20px * 1/3)); max-width: calc(99.9% * 1/3 - (20px - 20px * 1/3)); height: calc(99.9% * 1/3 - (20px - 20px * 1/3));}\n'+
7070
'div:nth-child(1n) { float: left; margin-right: 20px; margin-bottom: 20px; clear: none;}\n' +
7171
'div:last-child { margin-right: 0; margin-bottom: 0;}\n' +
7272
'div:nth-child(3n) { margin-right: 0;}\n' +

test/lost-vars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('lost-vars', function() {
6363
it('works on shortcut lost-waffle', () => {
6464
check(
6565
'div { padding: lost-vars(\'gutter-local\'); lost-waffle: 1/3 3 20px;}',
66-
'div { padding: 20px; width: calc(99.9% * 1/3 - (20px - 20px * 1/3)); height: calc(99.9% * 1/3 - (20px - 20px * 1/3));}\n'+
66+
'div { padding: 20px; width: calc(99.9% * 1/3 - (20px - 20px * 1/3)); max-width: calc(99.9% * 1/3 - (20px - 20px * 1/3)); height: calc(99.9% * 1/3 - (20px - 20px * 1/3));}\n'+
6767
'div:nth-child(1n) { float: left; margin-right: 20px; margin-bottom: 20px; clear: none;}\n' +
6868
'div:last-child { margin-right: 0; margin-bottom: 0;}\n' +
6969
'div:nth-child(3n) { margin-right: 0;}\n' +

0 commit comments

Comments
 (0)