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

QrReader width doesn't change #14

Closed
sarahrbs opened this issue Jul 4, 2021 · 2 comments
Closed

QrReader width doesn't change #14

sarahrbs opened this issue Jul 4, 2021 · 2 comments
Assignees

Comments

@sarahrbs
Copy link

sarahrbs commented Jul 4, 2021

May I know how I can change the width of the QrReader container.
style={{ width: '100%' }} - Changing width here has not effect.

@JonatanSalas
Copy link
Member

Hi, currently we don't have a really good support to override styles. I've added a proposal in the following issue #15 to keep the track of the development.

@JonatanSalas JonatanSalas self-assigned this Jul 5, 2021
@JonatanSalas
Copy link
Member

JonatanSalas commented Jul 12, 2021

@sarahrbs as a workaround we've added support for containerStyle, videoContainerStyle and videoStyle so you can override the styling in the way your product needs to.

You can checkout the docs here. For now this is a faster workaround until we resolve and implement a better CSS API.

To test this newer props you can install our library by doing:

npm i @blackbox-vision/[email protected]

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

2 participants