Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.animation.controls and .toolbar do not use --lottie-player-tool-height variable #234

Open
tzbarkan opened this issue Dec 12, 2023 · 0 comments

Comments

@tzbarkan
Copy link

tzbarkan commented Dec 12, 2023

There is a variable for the toolbar height in lottie-player.styles.ts:

--lottie-player-toolbar-height: 35px;

But in the two places it would be used, 35px is hard-coded:

height: calc(100% - 35px);

Currently, if we want to make our lottie players accessible to people using text-only zoom, we have to push code into the lottie player shadow dom if we want to make it scale with text size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant