Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cjtantay committed Nov 8, 2024
1 parent 24f9ea0 commit fd66185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export function calculateContentHeight(
elementWidth,
elementHeight,
extraContentHeight = 0
){
) {
const scaleFactor = fixedWidth / elementWidth;
return Math.round(elementHeight * scaleFactor) + extraContentHeight;
}

0 comments on commit fd66185

Please sign in to comment.