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

bug: Buttons are transparent with just core CSS styles #94

Open
6 tasks done
JacobMillward opened this issue Feb 20, 2023 · 1 comment
Open
6 tasks done

bug: Buttons are transparent with just core CSS styles #94

JacobMillward opened this issue Feb 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@JacobMillward
Copy link

Preflight checklist

Describe the bug

By default with just the required CSS styles, the button on UserAuthCard has a transparent background. This makes it invisible.

image

Reproducing the bug

Set up '@ory/elements' with just the core styles (only import @ory/elements/style.css as defined in the docs). Create a Login variant of the UserAuthCard. The button should be visible, and it is not.

Relevant log output

No response

Relevant configuration

No response

Version

0.0.1-beta.3

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

@JacobMillward JacobMillward added the bug Something isn't working label Feb 20, 2023
@Benehiko
Copy link
Contributor

Benehiko commented Mar 30, 2023

Hi @JacobMillward

We use Ory Elements inside the Account Experience and in example projects and did not observe the button as transparent.

Could you share the code of how you are using Ory Elements? Did you wrap the ThemeProvider around the components?

https://github.com/ory/elements/blob/main/src/react-components/provider.tsx#L18

Please see the React example
https://github.com/ory/elements/blob/main/examples/react-spa/src/main.tsx#L35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants