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

Font Size for style wrapper not working #210

Open
JoshMosher opened this issue Dec 22, 2023 · 0 comments
Open

Font Size for style wrapper not working #210

JoshMosher opened this issue Dec 22, 2023 · 0 comments

Comments

@JoshMosher
Copy link

JoshMosher commented Dec 22, 2023

Hi,

Not sure if I'm correctly doing this in ReactJS, but when setting the wrapperClassName to this:

.TypeWriter { color: #1F6BFF; font-family:'Space Mono'; font-size:'80px' }

The color and font-family is working properly, but not the font-size property.

Here is my inline call to the component for debugging purposes:
<Typewriter className='TypeWriter' options={{ strings: ['0', '1', '2'], skipAddStyles: true, autoStart: true, loop: true, wrapperClassName: 'TypeWriter', cursor: '|',cursorClassName:'TypeWriter'}}/>

Thanks,
Josh

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