Skip to content

Commit

Permalink
remove whitespace in fluidSizing output
Browse files Browse the repository at this point in the history
  • Loading branch information
heyjul3s committed Jan 12, 2021
1 parent 4d4e67f commit 4391924
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/fluidsizing/src/fluidSizing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ export function fluidSizing(
!!minViewportWidth &&
!!maxViewportWidth &&
!!unit
? `calc(
${minElementSize}${unit} + (${maxElementSize} - ${minElementSize}) *
((100vw - ${minViewportWidth}${unit}) / (${maxViewportWidth} - ${minViewportWidth}))
)`
? `calc(${minElementSize}${unit} + (${maxElementSize} - ${minElementSize}) * ((100vw - ${minViewportWidth}${unit}) / (${maxViewportWidth} - ${minViewportWidth})))`
: '';
}

0 comments on commit 4391924

Please sign in to comment.