From d9ba8b6711d297a16b444dfe6bdf4291b92a6e2d Mon Sep 17 00:00:00 2001 From: Ryan McCahan Date: Sat, 19 Feb 2022 14:40:51 -0700 Subject: [PATCH] Code formatting --- src/css/types/length-percentage.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/css/types/length-percentage.ts b/src/css/types/length-percentage.ts index 47245fc..932239a 100644 --- a/src/css/types/length-percentage.ts +++ b/src/css/types/length-percentage.ts @@ -128,17 +128,17 @@ export const resolveThreeValueSyntax = ( absoluteX = getAbsoluteValue(tuple[0], width); if (tuple[1].type == TokenType.DIMENSION_TOKEN && tuple[0].number == 100) { - absoluteX = getAbsoluteValue(tuple[0], width) - getAbsoluteValue(tuple[1], width); + absoluteX = getAbsoluteValue(tuple[0], width) - getAbsoluteValue(tuple[1], width); } if (tuple[2].type == TokenType.PERCENTAGE_TOKEN) { - absoluteY = getAbsoluteValue(tuple[2], height); + absoluteY = getAbsoluteValue(tuple[2], height); } } if (tuple[1].type == TokenType.PERCENTAGE_TOKEN) { if (tuple[1].number == 100) { - absoluteY = getAbsoluteValue(tuple[1], height) - getAbsoluteValue(tuple[2], height); + absoluteY = getAbsoluteValue(tuple[1], height) - getAbsoluteValue(tuple[2], height); } }