fix: some style updates (#2348)

This commit is contained in:
Peng Xiao
2023-05-15 12:58:13 +08:00
committed by GitHub
parent 7786456ba4
commit 183611a556
14 changed files with 76 additions and 90 deletions
@@ -90,5 +90,5 @@ export const InternalLottie: FC<CustomLottieProps> = ({
}
}, [isStopped, speed]);
return <div ref={element} style={{ width, height }}></div>;
return <div ref={element} style={{ width, height, lineHeight: 1 }}></div>;
};